phonesettings/cpphonesettingsplugins/tsrc/mocks/mock_cppluginloader.cpp
changeset 45 6b911d05207e
parent 22 6bb1b21d2484
equal deleted inserted replaced
37:ba76fc04e6c2 45:6b911d05207e
    18 #include <QDebug>
    18 #include <QDebug>
    19 #include <smcmockclassincludes.h>
    19 #include <smcmockclassincludes.h>
    20 #include "cppluginloader.h"
    20 #include "cppluginloader.h"
    21 
    21 
    22 // ============================ MEMBER FUNCTIONS ===============================
    22 // ============================ MEMBER FUNCTIONS ===============================
       
    23 // -----------------------------------------------------------------------------
       
    24 // CpPluginLoader::loadCpPluginInterface
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 CpPluginInterface *CpPluginLoader::loadCpPluginInterface(const QString &pluginFile)
       
    28 {
       
    29     SMC_MOCK_METHOD1( CpPluginInterface *, const QString &, pluginFile )
       
    30 }
    23 
    31 
    24 // -----------------------------------------------------------------------------
    32 // -----------------------------------------------------------------------------
    25 // CpPluginLoader::loadCpPlugin
    33 // CpPluginLoader::loadCpLauncherInterface
    26 // -----------------------------------------------------------------------------
    34 // -----------------------------------------------------------------------------
    27 //
    35 //
    28 CpPluginInterface * CpPluginLoader::loadCpPlugin( 
    36 CpLauncherInterface *CpPluginLoader::loadCpLauncherInterface(const QString &pluginFile)
    29         const QString & pluginFile )
    37 {
    30     {
    38     SMC_MOCK_METHOD1( CpLauncherInterface *, const QString &, pluginFile )
    31     SMC_MOCK_METHOD1( CpPluginInterface *, const QString &, pluginFile )
    39 }
    32     }
       
    33 
    40 
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // CpPluginLoader::loadPlatCpPlugin
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 CpPluginPlatInterface * CpPluginLoader::loadPlatCpPlugin( 
       
    40         const QString & pluginFile )
       
    41     {
       
    42     SMC_MOCK_METHOD1( CpPluginPlatInterface *, const QString &, pluginFile )
       
    43     }
       
    44 
       
    45