hswidgetpublisher.h

Go to the documentation of this file.
00001 /* ============================================================================
00002 *  Name        : hswidgetpublisher.h
00003 *  Part of     : Homescreen Publishing Api
00004 *  Interface   :
00005 *  Description : Updates applications and icons in Operator Tile.
00006 *  Version     : << Don't touch! Updated by Synergy at check-out.
00007 *
00008 *  Copyright © 2007 Nokia. All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia.  All
00011 *  rights are reserved.  Copying, including reproducing, storing,
00012 *  adapting or translating, any or all of this material requires the
00013 *  prior written consent of Nokia.  This material also contains
00014 *  confidential information which may not be disclosed to others
00015 *  without the prior written consent of Nokia.
00016 * ============================================================================
00017 * Template version: 4.0
00018 */
00019 
00020 // This file defines the API for hswidgetpublisher.dll
00021 
00022 #ifndef __HSWIDGETPUBLISHER_H__
00023 #define __HSWIDGETPUBLISHER_H__
00024 
00025 //  Include Files
00026 #include <cctype>
00027 #include <memory>
00028 #include <string>
00029 
00030 namespace Hs {
00031 
00032 //  Class Definitions
00033 class HsWidget;
00034 class IHsDataObserver;
00035 class HsWidgetPublisherImpl;
00036 
00070 class HsWidgetPublisher
00071     {
00072 public:
00122     IMPORT_C HsWidgetPublisher( IHsDataObserver* aDataObserver );
00123     
00133     IMPORT_C ~HsWidgetPublisher();
00134     
00157     IMPORT_C HsWidget& createHsWidget( std::string aTemplateName, 
00158         std::string aWidgetName,
00159         std::string aIdentifier );
00160 
00175     IMPORT_C void publishHsWidget( HsWidget& aWidget );
00176 
00192     IMPORT_C void removeHsWidget( std::string aTemplateName, 
00193         std::string aWidgetName,
00194         std::string aIdentifier );
00195     
00215     IMPORT_C HsWidget& getHsWidget( std::string aTemplateName, 
00216         std::string aWidgetName,
00217         std::string aIdentifier );
00218 
00219     
00220 private: //members
00221 
00222     std::auto_ptr<HsWidgetPublisherImpl> mImpl;
00223 
00224     };
00225 }
00226 
00227 #endif  // __HSWIDGETPUBLISHER_H__
00228 

Copyright © Nokia Corporation 2001-2007
Back to top