00001
00002 #if !defined(oagFpgaObserver_P)
00003 #define oagFpgaObserver_P
00004
00005 #include "oaDesignDB.h"
00006 #include <iostream>
00007
00008 using namespace std;
00009
00010 namespace oagFpga {
00011
00012
00013
00014
00023
00024
00025
00026 class Observer : public oa::oaObserver<oa::oaDesign> {
00027
00028 public:
00029
00030 Observer();
00031
00032 void onFirstOpen(oa::oaDesign *design);
00033 void onPurge(oa::oaDesign *design);
00034 void onPreSave(oa::oaDesign *design);
00035 void onPostSave(oa::oaDesign *design);
00036 };
00037
00038 }
00039
00040 #endif