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

commit 81e5125eb9d60944f041d02e9d867919aed8bea2
Author: James Buren <r...@frugalware.org>
Date:   Fri May 29 13:28:45 2009 -0500

pacman.hh
* revise

diff --git a/pacman.hh b/pacman.hh
index 83639d1..3a095bb 100644
--- a/pacman.hh
+++ b/pacman.hh
@@ -2,22 +2,18 @@
#define _PACMAN_HEADER_
#include <string>
#include <pacman.h>
-namespace pacman
+namespace PM
{
bool initialize(const std::string &root);
bool release(void);
-       class Database
+       class Shared
{
public:
-                       Database(void);
-                       Database(const std::string &treename);
-                       ~Database(void);
-                       bool load(const std::string &treename);
-                       bool unload(void);
-                       bool isvalid(void);
-                       PM_DB *getdb(void);
-               private:
-                       PM_DB *db;
+                       Shared(void);
+               protected:
+                       PM_DB   *db;
+                       PM_PKG  *pkg;
+                       PM_LIST *list;
};
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to