git repos / blockattack-game

commit 3478201d

sago007 · 2016-06-04 14:44
3478201d60eee1a96b47b55170a5f5a098150244 patch · browse files
parent 8d5e59537208b07bb6f5af71eeb24ebdf18b0936

Removed unused file

Changed files

D source/code/menu/MenuItem.hpp before
M source/code/menudef.cpp before
diff --git a/source/code/menu/MenuItem.hpp b/source/code/menu/MenuItem.hpp deleted file mode 100644 index 13c4c77..0000000 --- a/source/code/menu/MenuItem.hpp +++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * File: MenuItem.hpp
- * Author: poul
- *
- * Created on 11. marts 2011, 20:41
- */
-
-#ifndef _MENUITEM_HPP
-#define _MENUITEM_HPP
-
-#include <string>
-
-using namespace std;
-
-class MenuItem
-{
- virtual void SetSelected(bool selected) = 0;
- virtual void Activated() = 0;
- virtual string GetText() = 0;
- virtual void GetType() = 0;
- virtual void SetText(string text) = 0;
-};
-
-
-#endif /* _MENUITEM_HPP */
-
diff --git a/source/code/menudef.cpp b/source/code/menudef.cpp index a6f9fd2..3a9c625 100644 --- a/source/code/menudef.cpp +++ b/source/code/menudef.cpp
@@ -23,12 +23,12 @@ http://blockattack.net
#include "global.hpp"
#include <iostream>
#include <stdlib.h>
-#include "menu/MenuItem.hpp"
#include "MenuSystem.h"
#include "common.h"
using std::string;
using std::cerr;
+using std::cout;
using std::vector;
#if 0