00001 /****************************************************************************** 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 00008 00009 #ifndef lgrAnnotationBaseView_H_ 00010 #define lgrAnnotationBaseView_H_ 00011 00012 #include "lgrAnn.h" 00013 00014 class DtString; 00015 00016 namespace MAKLogger 00017 { 00018 class DtLgrAnnotation; 00019 00021 class DT_DLL_LGRANN DtLgrAnnotationBaseView 00022 { 00023 public: 00024 DtLgrAnnotationBaseView(); 00025 virtual ~DtLgrAnnotationBaseView(); 00026 00027 private: 00029 DtLgrAnnotationBaseView(const DtLgrAnnotationBaseView&); 00031 DtLgrAnnotationBaseView& operator=(const DtLgrAnnotationBaseView&); 00032 public: 00033 00035 virtual void annotationAdded(DtLgrAnnotation* annotation) = 0; 00036 00038 virtual void annotationRemoved(DtLgrAnnotation* annotation) = 0; 00039 00041 virtual void annotationChanged(DtLgrAnnotation* annotation) = 0; 00042 00044 virtual void selectAnnotation(DtLgrAnnotation* annotation) = 0; 00045 00047 virtual void fileOpened(const DtString& filename) = 0; 00048 00050 virtual void fileClosed() = 0; 00051 00053 virtual void fileSaved(const DtString& filename) = 0; 00054 00055 }; 00056 } 00057 00058 #endif