diff options
| author | deva <deva> | 2011-01-28 08:50:42 +0000 | 
|---|---|---|
| committer | deva <deva> | 2011-01-28 08:50:42 +0000 | 
| commit | 775d9c9c11f3906766c0dc7070eb7ef01606ef96 (patch) | |
| tree | 7b957553d2778a4350d73f460997186e2484f5ca /server/src/session.h | |
| parent | 7917d099f34acda6c4c90bca28710a7bd67800e9 (diff) | |
New cross client system.
Diffstat (limited to 'server/src/session.h')
| -rw-r--r-- | server/src/session.h | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/server/src/session.h b/server/src/session.h index c0f6dfc..5b9b0bb 100644 --- a/server/src/session.h +++ b/server/src/session.h @@ -38,7 +38,7 @@ class Journal;  class Session {  public: -  Session(std::string sessionid = ""); +  Session(std::string sessionid, std::string patientid, std::string templ);    ~Session();    std::string id(); @@ -53,6 +53,9 @@ public:    Journal *journal();    Database *database(); +  std::string patientid; +  std::string templ; +  private:    Journal *_journal;    Database *_database; @@ -67,7 +70,7 @@ public:     * Create a new session, with a unique id. Insert it into the session list,     * and return its pointer.     */ -  Session *newSession(); +  Session *newSession(std::string patientid, std::string templ);    /**     * Lookup session in session list. Returns the session or NULL if no session | 
