Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=cfpm.git;a=commitdiff;h=df0c71f561c500dd410a9e780ab7e2a878939248

commit df0c71f561c500dd410a9e780ab7e2a878939248
Author: James Buren <r...@frugalware.org>
Date:   Fri May 29 14:45:26 2009 -0500

pacman.hh
* add

diff --git a/pacman.hh b/pacman.hh
index 3a095bb..b4dee0a 100644
--- a/pacman.hh
+++ b/pacman.hh
@@ -6,14 +6,17 @@ namespace PM
{
bool initialize(const std::string &root);
bool release(void);
-       class Shared
+       class Database
{
public:
-                       Shared(void);
-               protected:
-                       PM_DB   *db;
-                       PM_PKG  *pkg;
-                       PM_LIST *list;
+                       Database(void);
+                       ~Database(void);
+                       PM_DB *get_db(void);
+                       bool isvalid(void);
+                       bool unload(void);
+                       bool load(const std::string &name);
+               private:
+                       PM_DB *db;
};
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to