]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/wx-console/console_thread.h
- wxbRestorePanel : Fixed problem when the newly created job is not at the end of...
[bacula/bacula] / bacula / src / wx-console / console_thread.h
index 419fe0eec493b0333f5c8f4bebb645caaf0142d4..723cc6326e3354b4ce4b2062f1a9e68c5d3d043d 100644 (file)
@@ -2,7 +2,7 @@
  *
  *    Interaction thread between director and the GUI
  *
- *    Nicolas Boichat, April 2004
+ *    Nicolas Boichat, April-May 2004
  *
  */
 /*
@@ -39,17 +39,27 @@ class console_thread : public wxThread
 {
    public:
       // class constructor
-      console_thread(wxString configfile);
+      console_thread();
       // class destructor
       ~console_thread();
 
       void* Entry();
       void Write(const char* str);
       virtual void Delete();
+      
+      static void InitLib();
+      static void FreeLib();
+      static wxString LoadConfig(wxString configfile);
    private:
+      static bool inited;
+      static bool configloaded;
+      
+      bool choosingdirector;
+      
+      int directorchoosen;
+      
       BSOCK* UA_sock;
       JCR jcr;
-      wxString configfile;
 };
 
 int pm_cst_strcpy(POOLMEM **pm, const char *str);