LunaSysMgr
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
appeffector.h
Go to the documentation of this file.
1
/* @@@LICENSE
2
*
3
* Copyright (c) 2011-2012 Hewlett-Packard Development Company, L.P.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
* LICENSE@@@ */
18
19
20
21
22
#ifndef APPEFFECTOR_H_
23
#define APPEFFECTOR_H_
24
25
#include <QObject>
26
#include <QPointer>
27
#include <QUuid>
28
29
class
ApplicationDescription
;
30
31
namespace
DimensionsSystemInterface
32
{
33
34
class
ExternalApp;
35
36
class
AppEffector
:
public
QObject
37
{
38
Q_OBJECT
39
40
public
:
41
42
static
AppEffector
*
appEffector
();
43
44
//makes a request to the outside world to launch the app specified
45
void
launch
(
ExternalApp
* pApp,
const
QUuid& optionalIconUid = QUuid());
46
//makes a request to the outside world to bring up app info
47
void
info
(
ExternalApp
* pApp);
48
//makes a request to the outside world to start app removal (appinstaller, etc)
49
void
remove
(
ExternalApp
* pApp);
50
//the webos-appId variant...the iconUid is the icon that was activated to trigger the remove. This is needed because webos apps may have multiple launchpoints; each of these has an icon
51
// but only the main icon can trigger an app delete
52
void
remove
(
const
QString& webosAppId,
const
QUuid& iconUid);
53
54
//remove launchpoint for the webos-app
55
void
removeLaunchpoint
(
const
QString& webosAppId,
const
QString& launchpointId);
56
57
private
:
58
59
AppEffector
();
60
~
AppEffector
();
61
62
static
QPointer<AppEffector> s_qp_instance;
63
};
64
65
}
//end namespace
66
67
#endif
/* APPEFFECTOR_H_ */
luna-sysmgr
Src
lunaui
launcher
systeminterface
appeffector.h
Generated on Fri Jun 21 2013 00:53:53 for LunaSysMgr by
1.8.3.1