Changeset 48 in pacpusframework


Ignore:
Timestamp:
Jan 9, 2013, 12:48:47 AM (12 years ago)
Author:
sgosseli
Message:

Should be in the last commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/kernel/ComponentManager.h

    r31 r48  
    7171     * @return True if all the component has been started, otherwise false.
    7272     */
    73     PACPUSLIB_API int start();
     73    PACPUSLIB_API bool start();
    7474
    7575    /** Start only the component passed in parameter.
     
    7777     * @return True if the component exists and has been started, otherwise false.
    7878     */
    79     PACPUSLIB_API int start(const QString& component);
     79    PACPUSLIB_API bool start(const QString& component);
    8080
    8181    /** Stop all the components
    8282     * @return True if all the component has been stopped, otherwise false.
    8383     */
    84     PACPUSLIB_API int stop();
     84    PACPUSLIB_API bool stop();
    8585
    8686    /** Stop only the component passed in parameter.
     
    8888     * @return True if the component has been stopped, otherwise false.
    8989     */
    90     PACPUSLIB_API int stop(const QString& component);
     90    PACPUSLIB_API bool stop(const QString& component);
    9191
    9292    /** Get a pointer to the component referred by @em name.
     
    9999     * @return List of all the component's name.
    100100     */
    101     PACPUSLIB_API QStringList getAllComponentsName();
     101    PACPUSLIB_API QStringList getAllComponentsName() const;
    102102
    103103    /** Load a new plugin from the file filename (it may be a .so/.dll file)
Note: See TracChangeset for help on using the changeset viewer.