]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv-2.0/libgameservgldl/include/GameServ/DataLayer/ILevelDAO.h
Revisited GameServ 2.0 and got it compiling in VS 2010!
[irc/gameservirc.git] / gameserv-2.0 / libgameservgldl / include / GameServ / DataLayer / ILevelDAO.h
index faee2dd748bd1fc6808de08ca64c36f2a5a8c251..55e44cc8293f10a4d56152f060c59845bd6c5a59 100644 (file)
@@ -5,7 +5,7 @@
 using GameServ::GameLayer::GameObjects::LevelGO;\r
 \r
 #include <boost/smart_ptr/shared_ptr.hpp>\r
-using boost::shared_ptr;\r
+\r
 \r
 #include <list>\r
 using std::list;\r
@@ -32,7 +32,7 @@ namespace GameServ { namespace DataLayer { namespace DataAccessObjects
                        \return A boost shared pointer to a Level game object if found\r
                        otherwise the list is empty.\r
                */\r
-               virtual shared_ptr<LevelGO> GetById(const string &Id) const = 0;\r
+               virtual boost::shared_ptr<LevelGO> GetById(const string &Id) const = 0;\r
 \r
                //! Function to quickly search to see if an Id exists or not\r
                /*!\r
@@ -41,6 +41,9 @@ namespace GameServ { namespace DataLayer { namespace DataAccessObjects
                */\r
                virtual bool IdExists(const string &Id) const = 0;\r
 \r
+               virtual void Insert(boost::shared_ptr<LevelGO> spLevel) = 0;\r
+               virtual void Update(boost::shared_ptr<LevelGO> spLevel) = 0;\r
+\r
        private:\r
                \r
                \r