Go to the documentation of this
file.
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #pragma once
00018
00019 #include "iFnPub.h"
00020 #include "IRefTargMonitor.h"
00021
00023 #define REFTARGMONITOR_CLASS_ID Class_ID(0x1af82963, 0x29663cd2)
00024
00026 #define IID_REFTARGMONITOR_CLASS Interface_ID(0x1af82963, 0x29663cd2)
00027
00030 #define REFMSG_REFTARGMONITOR_TARGET_DELETED REFMSG_USER + 0x18f81904
00031
00033
00039 class IRefTargMonitorClass : public FPMixinInterface {
00040 public:
00042
00044 virtual RefTargetHandle GetRefTarg() = 0;
00046
00048 virtual void SetRefTarg(RefTargetHandle theRefTarg) = 0;
00049
00051
00053 virtual bool GetPersist() = 0;
00055
00057 virtual void SetPersist(bool persist) = 0;
00058
00059
00060 FPInterfaceDesc* GetDesc();
00061 virtual Interface_ID GetID() { return IID_REFTARGMONITOR_CLASS; }
00062
00063 enum {
00064 kfpGetRefTarg, kfpSetRefTarg,
00065 kfpGetPersist, kfpSetPersist,
00066 };
00067
00068 BEGIN_FUNCTION_MAP
00069 PROP_FNS(kfpGetRefTarg, GetRefTarg, kfpSetRefTarg, SetRefTarg, TYPE_REFTARG);
00070 PROP_FNS(kfpGetPersist, GetPersist, kfpSetPersist, SetPersist, TYPE_bool);
00071 END_FUNCTION_MAP
00072
00073 };
00074