javamanager/javainstaller/iconsizenotifplugin/inc/iconsizenotifier.h
changeset 50 023eef975703
equal deleted inserted replaced
49:35baca0e7a2e 50:023eef975703
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef ICONSIZENOTIFIER_H
       
    20 #define ICONSIZENOTIFIER_H
       
    21 
       
    22 
       
    23 #include <eiknotapi.h> // MEikSrvNotifierBase2
       
    24 
       
    25 
       
    26 const TInt KIdIconSizeNotifPlugin = 0x101FD68B;
       
    27 const TUid KUidIconSizeNotifPlugin = {KIdIconSizeNotifPlugin};
       
    28 
       
    29 
       
    30 class CIconSizeNotifier : public CBase, public MEikSrvNotifierBase2
       
    31 {
       
    32 public:
       
    33     static CIconSizeNotifier* NewLC();
       
    34     ~CIconSizeNotifier();
       
    35 
       
    36 private:
       
    37     CIconSizeNotifier();
       
    38     void ConstructL();
       
    39 
       
    40 // From MEikSrvNotifierBase2
       
    41 public:
       
    42     void Release();
       
    43     TNotifierInfo RegisterL();
       
    44     TNotifierInfo Info() const;
       
    45     void StartL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage);
       
    46     TPtrC8 StartL(const TDesC8& aBuffer);
       
    47     void Cancel();
       
    48     TPtrC8 UpdateL(const TDesC8& aBuffer);
       
    49     void UpdateL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage);
       
    50     TInt NotifierCapabilites();
       
    51 private:
       
    52     TNotifierInfo iInfo;
       
    53 };
       
    54 
       
    55 #endif // ICONSIZENOTIFIER_H