00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Side Effects 00008 * 477 Richmond Street West 00009 * Toronto, Ontario 00010 * Canada M5V 3E7 00011 * 416-504-9876 00012 * 00013 */ 00014 #ifndef __GOP_AdhocGroup_h__ 00015 #define __GOP_AdhocGroup_h__ 00016 00017 #include "GOP_API.h" 00018 00019 class GU_Detail; 00020 class GB_BaseGroup; 00021 00022 class GOP_API GOP_AdhocGroup 00023 { 00024 public: 00025 virtual ~GOP_AdhocGroup() {} 00026 00027 int operator==(const GOP_AdhocGroup &g) const 00028 { 00029 return (myGdp == g.myGdp && 00030 myGroup == g.myGroup && 00031 myOwner == g.myOwner); 00032 } 00033 00034 GOP_AdhocGroup &operator=(const GOP_AdhocGroup &g) 00035 { 00036 myGdp = g.myGdp; 00037 myGroup = g.myGroup; 00038 myOwner = g.myOwner; 00039 return *this; 00040 } 00041 00042 // This method will destroy the adhoc group from the gdp. 00043 // It should return true if it actually removes a group 00044 // from the gdp, or false otherwise. 00045 virtual bool destroyAdhocGroup(); 00046 00047 00048 00049 public: 00050 GU_Detail *myGdp; 00051 GB_BaseGroup *myGroup; 00052 int myOwner; 00053 }; 00054 00055 #endif
1.5.9