imageeditor/PB/src/pluginbase.cpp
changeset 1 edfc90759b9f
equal deleted inserted replaced
0:57d4cdd99204 1:edfc90759b9f
       
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "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 * Ixonos Plc
       
    14 *
       
    15 * Description:  
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #include "pluginbasedefs.h"
       
    22 #include "pluginbase.h"
       
    23 
       
    24 
       
    25 //=============================================================================
       
    26 EXPORT_C CPluginBase * CPluginBase::NewL ()
       
    27 {
       
    28 	CPluginBase * self = new (ELeave) CPluginBase;
       
    29 	CleanupStack::PushL (self);
       
    30 	self->ConstructL();
       
    31 	CleanupStack::Pop();
       
    32 	return self;
       
    33 }
       
    34 
       
    35 //=============================================================================
       
    36 EXPORT_C CPluginBase::~CPluginBase ()
       
    37 {
       
    38     iPluginBaseInternalRepresentation = NULL;
       
    39 }
       
    40 
       
    41 //=============================================================================
       
    42 EXPORT_C TInt CPluginBase::SetProperty (
       
    43 	TInt		/*aPropertyId*/, 
       
    44 	TDesC &		/*aPropertyValue*/
       
    45 	)
       
    46 {
       
    47 	return TPropRetErrNotSupported;
       
    48 }
       
    49 
       
    50 //=============================================================================
       
    51 EXPORT_C TInt CPluginBase::GetProperty (
       
    52 	TInt		/*aPropertyId*/, 
       
    53 	TDes &		/*aPropertyValue*/
       
    54 	) 
       
    55 
       
    56 {
       
    57 	return TPropRetErrNotSupported;
       
    58 }
       
    59 
       
    60 //=============================================================================
       
    61 EXPORT_C CPluginBase::CPluginBase ()
       
    62 {
       
    63 
       
    64 }
       
    65 
       
    66 //=============================================================================
       
    67 EXPORT_C void CPluginBase::ConstructL ()
       
    68 {
       
    69 
       
    70 }
       
    71 
       
    72 //=============================================================================
       
    73 EXPORT_C void CPluginBase::ReservedBaseMethod1 ()
       
    74 {
       
    75 
       
    76 }
       
    77 
       
    78 //=============================================================================
       
    79 EXPORT_C void CPluginBase::ReservedBaseMethod2 ()
       
    80 {
       
    81 
       
    82 }
       
    83 
       
    84 // End of File