jsweeper/src/session.h

26 lines
376 B
C++

#ifndef SESSION_H
#define SESSION_H
#include <string>
#include <list>
#include <dbus/dbus-glib.h>
class Session
{
public:
Session();
~Session();
int Save();
int SaveAs(std::string name);
int Load(std::string name);
std::list<std::string> List();
private:
DBusGConnection *m_connection;
DBusGProxy *m_proxy;
static std::string m_last_name;
};
#endif // SESSION_H