00001 /****************************************************************************** 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 00008 00009 #ifndef lgrAppGuiInterface_H_ 00010 #define lgrAppGuiInterface_H_ 00011 00012 #include "lgrApp.h" 00013 #include "virtualConstructor.h" 00014 #include <vlutil/vlRunnable.h> 00015 00016 #include <vlutil/vlSmartPointers.h> 00017 00018 namespace MAKLogger 00019 { 00020 class DtLoggerApplication; 00021 class DtLgrFullInterface; 00022 00024 class DT_DLL_LGRAPP DtLgrAppGuiInterface : public DtRunnable 00025 { 00026 public: 00027 00029 DT_PURE_VIRTUAL_CTR(DtLgrAppGuiInterface,(DtLoggerApplication*)) 00030 00031 00032 DtLgrAppGuiInterface(); 00033 00035 virtual ~DtLgrAppGuiInterface(); 00036 00038 virtual void setTranslations(const char* translationFile) = 0; 00039 00041 virtual void setProtocol(const char* protocol) = 0; 00042 00043 private: 00045 DtLgrAppGuiInterface(const DtLgrAppGuiInterface&); 00047 DtLgrAppGuiInterface& operator=(const DtLgrAppGuiInterface&); 00048 public: 00049 00051 00052 virtual const DtLgrFullInterface* fullInterface() const = 0; 00054 }; 00055 00056 typedef DtBoost::shared_ptr<DtLgrAppGuiInterface> DtLgrAppGuiInterfaceSP; 00057 00058 } 00059 00060 #endif