db_bridge/include/abstract_db.h
changeset 13 2640a7fd96ca
parent 12 9f0ce4eaa1ce
child 14 862d63715611
equal deleted inserted replaced
12:9f0ce4eaa1ce 13:2640a7fd96ca
    15     std::string database;
    15     std::string database;
    16     std::string password;
    16     std::string password;
    17     std::string server;
    17     std::string server;
    18 
    18 
    19   public:
    19   public:
    20     virtual ~ Abstract_DB () {
    20     virtual ~ Abstract_DB () {}
    21     };
       
    22     virtual bool connect () = 0;
    21     virtual bool connect () = 0;
    23     virtual std::vector < std::vector<std::string> >query (std::string) = 0;
    22     virtual std::vector < std::vector<std::string> >query (std::string) = 0;
    24 };
    23 };
    25 #endif
    24 #endif