00001 /* 00002 * ============================================================================ 00003 * Name : CalenInterimUtils.h 00004 * Part of : Calendar / CalInterimUtils 00005 * 00006 * Description: 00007 * This class contains utility methods related to usage of 00008 * Calendar Interim API. 00009 * 00010 * Version: 00011 * 00012 * Copyright (C) 2005 Nokia Corporation. 00013 * This material, including documentation and any related 00014 * computer programs, is protected by copyright controlled by 00015 * Nokia Corporation. All rights are reserved. Copying, 00016 * including reproducing, storing, adapting or translating, any 00017 * or all of this material requires the prior written consent of 00018 * Nokia Corporation. This material also contains confidential 00019 * information which may not be disclosed to others without the 00020 * prior written consent of Nokia Corporation. 00021 * ============================================================================ 00022 */ 00023 00024 #ifndef __CALENINTERIMUTILS2_H__ 00025 #define __CALENINTERIMUTILS2_H__ 00026 00027 // INCLUDES 00028 #include <e32base.h> 00029 #include <calcommon.h> 00030 00031 // FORWARD DECLARATIONS 00032 class CCalEntry; 00033 class CCalEntryView; 00034 class CCalenInterimUtils2Impl; 00035 00036 // CLASS DECLARATION 00037 00042 NONSHARABLE_CLASS(CCalenInterimUtils2) : public CBase 00043 { 00044 public: // Construction/destruction 00048 IMPORT_C static CCalenInterimUtils2* NewL(); 00049 00053 IMPORT_C ~CCalenInterimUtils2(); 00054 00055 public: // New functions 00060 IMPORT_C HBufC8* GlobalUidL(); 00061 00068 IMPORT_C static void PopulateChildFromParentL( CCalEntry& aChild, 00069 const CCalEntry& aParent ); 00070 00076 IMPORT_C TBool MRViewersEnabledL(TBool aForceCheck = EFalse); 00077 00089 IMPORT_C static void StoreL( CCalEntryView& aEntryView, 00090 CCalEntry& aEntry, 00091 TBool aCopyToChildren = EFalse ); 00092 00098 IMPORT_C static TBool IsMeetingRequestL( CCalEntry& aEntry ); 00099 00100 private: // Construction/destruction 00101 void ConstructL(); 00102 CCalenInterimUtils2(); 00103 00104 private: // Member data 00105 CCalenInterimUtils2Impl* iImpl; 00106 }; 00107 00108 // __CALENINTERIMUTILS2_H__ 00109 #endif 00110 00111 // End of File