photosgallery/slideshow/view/src/shwslideshowviewplugin.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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:    Slideshow view plugin definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 #ifndef C_SHWSLIDESHOWVIEWPLUGIN_H
       
    23 #define C_SHWSLIDESHOWVIEWPLUGIN_H
       
    24 
       
    25 
       
    26 // INCLUDES
       
    27 #include <mpxaknviewplugin.h>
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32  *  MPX Collection view plugin definition.
       
    33  *
       
    34  *  @lib mpxcollectionviewplugin.lib
       
    35  * @internal reviewed 07/06/2007 by Kimmo Hoikka
       
    36  */
       
    37 NONSHARABLE_CLASS( CShwSlideshowViewPlugin ) : public CMPXAknViewPlugin
       
    38     {
       
    39 public:
       
    40 
       
    41     /**
       
    42      * Two-phased constructor.
       
    43      *
       
    44      * @since 3.0 // @todo
       
    45      * @return Pointer to newly created object.
       
    46      */
       
    47     static CShwSlideshowViewPlugin* NewL();
       
    48 
       
    49     /**
       
    50      * Destructor.
       
    51      */
       
    52     virtual ~CShwSlideshowViewPlugin();
       
    53 
       
    54 private:
       
    55 
       
    56     /**
       
    57      * From CMPXAknViewPlugin
       
    58      * Construct Avkon view.
       
    59      *
       
    60      * @return Pointer to a newly created Avkon view.
       
    61      */
       
    62     CAknView* ConstructViewLC();
       
    63 
       
    64 private:
       
    65 
       
    66     /**
       
    67      * C++ default constructor.
       
    68      */
       
    69     CShwSlideshowViewPlugin();
       
    70 
       
    71     /**
       
    72      * By default Symbian 2nd phase constructor is private.
       
    73      */
       
    74     void ConstructL();
       
    75     };
       
    76 
       
    77 #endif  // C_SHWSLIDESHOWVIEWPLUGIN_H
       
    78 
       
    79 // End of File