19 lines
282 B
C++
19 lines
282 B
C++
#ifndef PGOBJECT_H
|
|
#define PGOBJECT_H
|
|
|
|
#include <memory>
|
|
|
|
class PgDatabaseCatalog;
|
|
|
|
class PgObject
|
|
{
|
|
public:
|
|
PgObject();
|
|
explicit PgObject(std::weak_ptr<PgDatabaseCatalog> cat)
|
|
: catalog(cat)
|
|
{}
|
|
protected:
|
|
std::weak_ptr<PgDatabaseCatalog> catalog;
|
|
};
|
|
|
|
#endif // PGOBJECT_H
|