00001 /* 00002 * ============================================================================== 00003 * Name : ProEngFactory.h 00004 * Part of : Profiles / Profiles Engine Wrapper 00005 * Interface : SDK, Profiles Engine Wrapper 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright © 2002-2004 Nokia. All rights reserved. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia. All rights are reserved. Copying, including 00013 * reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia. 00018 * ============================================================================== 00019 */ 00020 00021 00022 #ifndef PROENGFACTORY_H 00023 #define PROENGFACTORY_H 00024 00025 // INCLUDES 00026 #include <e32def.h> 00027 00028 // FORWARD DECLARATIONS 00029 class RFs; 00030 class MProEngEngine; 00031 class MProEngAlertToneSeeker; 00032 class MProEngNotifyHandler; 00033 00034 // CLASS DECLARATION 00035 00058 class ProEngFactory 00059 { 00060 public: // New functions 00061 00068 IMPORT_C static MProEngEngine* NewEngineL(); 00069 00077 IMPORT_C static MProEngEngine* NewEngineLC(); 00078 00087 IMPORT_C static MProEngEngine* NewEngineL( RFs& aFs ); 00088 00098 IMPORT_C static MProEngEngine* NewEngineLC( RFs& aFs ); 00099 00106 IMPORT_C static MProEngNotifyHandler* NewNotifyHandlerL(); 00107 00114 IMPORT_C static MProEngAlertToneSeeker* NewAlertToneSeekerL(); 00115 00116 private: 00117 00118 // Prohibit C++ default constructor. 00119 ProEngFactory(); 00120 // Prohibit Destructor. 00121 ~ProEngFactory(); 00122 00123 }; 00124 00125 // PROENGFACTORY_H 00126 #endif 00127 00128 // End of File 00129