contentstorage/casoftwareregistry/stub/src/casoftwareregistry_p.cpp
changeset 103 b99b84bcd2d1
parent 80 397d00875918
child 102 8b8b34fa9751
child 109 e0aa398e6810
equal deleted inserted replaced
83:156f692b1687 103:b99b84bcd2d1
    14  * Description:  ?Description
    14  * Description:  ?Description
    15  *
    15  *
    16  */
    16  */
    17 #include <QtGlobal>
    17 #include <QtGlobal>
    18 #include <QMetaType>
    18 #include <QMetaType>
    19 #include <QString>
    19 #include <QStringList>
    20 
    20 
    21 
    21 
    22 #include "casoftwareregistry.h"
    22 #include "casoftwareregistry.h"
    23 #include "casoftwareregistry_p.h"
    23 #include "casoftwareregistry_p.h"
    24 
    24 
    35 /*
    35 /*
    36  Destructor.
    36  Destructor.
    37  */
    37  */
    38 CaSoftwareRegistryPrivate::~CaSoftwareRegistryPrivate()
    38 CaSoftwareRegistryPrivate::~CaSoftwareRegistryPrivate()
    39 {
    39 {
       
    40 }
       
    41 
       
    42 /*!
       
    43  Provides details needed for uninstalling process of Java applications
       
    44  (windows stub).
       
    45  \param[in] componentId component id of an application to be uninstalled.
       
    46  \param[out] componentName a name of the component.
       
    47  \param[out] applicationsUids a list of uids of applications in the package
       
    48       of the given component id.
       
    49  \param[out] confirmationMessage optional deletion confirmation message,
       
    50       null string means the lack of the message.
       
    51  \retval true if there is no error.
       
    52  */
       
    53 bool CaSoftwareRegistryPrivate::getUninstallDetails(int componentId,
       
    54     QString &componentName,
       
    55     QStringList &applicationsUids,
       
    56     QString &confirmationMessage)
       
    57 {
       
    58     Q_UNUSED(componentId);
       
    59     componentName.clear();
       
    60     applicationsUids.clear();
       
    61     confirmationMessage.clear();
       
    62     return true;
       
    63 }
       
    64 
       
    65 /*!
       
    66  Provides a list of uids of applications installed by the given package
       
    67  (windows stub).
       
    68  \param[in] componentId component id of an application to be uninstalled.
       
    69  \param[out] applicationsUids a list of uids of applications in the package
       
    70       of the given component id.
       
    71  \retval true if there is no error.
       
    72  */
       
    73 bool CaSoftwareRegistryPrivate::getApplicationsUids(int componentId,
       
    74     QStringList &applicationsUids)
       
    75 {
       
    76     Q_UNUSED(componentId);
       
    77     applicationsUids.clear();
       
    78     return true;
    40 }
    79 }
    41 
    80 
    42 /*
    81 /*
    43  Stub for windows development.
    82  Stub for windows development.
    44  \param Component id.
    83  \param Component id.