@@ -33,15 +33,58 @@ Module {
3333 exportMetaObjectRevisions: [0]
3434 Property { name: "fullscreen"; type: "bool" }
3535 Property { name: "stage"; type: "Stage" }
36+ Property { name: "surface"; type: "MirSurfaceItem"; isReadonly: true; isPointer: true }
37+ Property { name: "promptSurfaces"; type: "MirSurfaceItem"; isList: true; isReadonly: true }
3638 Property { name: "imageQml"; type: "string" }
3739 Property { name: "windowQml"; type: "string" }
38− Signal { name: "appIdChanged" }
39− Signal { name: "nameChanged" }
40− Signal { name: "commentChanged" }
41− Signal { name: "iconChanged" }
42− Signal { name: "stateChanged" }
43− Signal { name: "focusedChanged" }
44− Signal { name: "screenshotChanged" }
40+ Signal {
41+ name: "appIdChanged"
42+ Parameter { type: "string" }
43+ }
44+ Signal {
45+ name: "nameChanged"
46+ Parameter { type: "string" }
47+ }
48+ Signal {
49+ name: "commentChanged"
50+ Parameter { type: "string" }
51+ }
52+ Signal {
53+ name: "iconChanged"
54+ Parameter { type: "QUrl" }
55+ }
56+ Signal {
57+ name: "stageChanged"
58+ Parameter { type: "Stage" }
59+ }
60+ Signal {
61+ name: "stateChanged"
62+ Parameter { type: "State" }
63+ }
64+ Signal {
65+ name: "focusedChanged"
66+ Parameter { type: "bool" }
67+ }
68+ Signal {
69+ name: "fullscreenChanged"
70+ Parameter { type: "bool" }
71+ }
72+ Signal {
73+ name: "imageQmlChanged"
74+ Parameter { type: "string" }
75+ }
76+ Signal {
77+ name: "windowQmlChanged"
78+ Parameter { type: "string" }
79+ }
80+ Signal {
81+ name: "screenshotChanged"
82+ Parameter { type: "QUrl" }
83+ }
84+ Signal {
85+ name: "surfaceChanged"
86+ Parameter { type: "MirSurfaceItem"; isPointer: true }
87+ }
4588 }
4689 Component {
4790 name: "ApplicationManager"
@@ -102,11 +145,11 @@ Module {
102145 "ForceMainStage": 1
103146 }
104147 }
148+ Property { name: "empty"; type: "bool"; isReadonly: true }
105149 Property { name: "sideStageWidth"; type: "int"; isReadonly: true }
106150 Property { name: "stageHint"; type: "StageHint"; isReadonly: true }
107151 Property { name: "formFactorHint"; type: "FormFactorHint"; isReadonly: true }
108152 Property { name: "fake"; type: "bool"; isReadonly: true }
109− Property { name: "rightMargin"; type: "int" }
110153 Signal {
111154 name: "focusRequested"
112155 Parameter { name: "favoriteApplication"; type: "FavoriteApplication" }
@@ -115,6 +158,10 @@ Module {
115158 name: "focusRequested"
116159 Parameter { name: "appId"; type: "string" }
117160 }
161+ Signal {
162+ name: "emptyChanged"
163+ Parameter { name: "empty"; type: "bool" }
164+ }
118165 Method {
119166 name: "get"
120167 type: "ApplicationInfo*"
@@ -177,6 +224,84 @@ Module {
177224 }
178225 Method { name: "availableApplications"; type: "QStringList" }
179226 }
227+ Component {
228+ name: "MirSurfaceItem"
229+ defaultProperty: "data"
230+ prototype: "QQuickPaintedItem"
231+ exports: ["Unity.Application/MirSurfaceItem 0.1"]
232+ isCreatable: false
233+ exportMetaObjectRevisions: [0]
234+ Enum {
235+ name: "Type"
236+ values: {
237+ "Normal": 0,
238+ "Utility": 1,
239+ "Dialog": 2,
240+ "Overlay": 3,
241+ "Freestyle": 4,
242+ "Popover": 5,
243+ "InputMethod": 6
244+ }
245+ }
246+ Enum {
247+ name: "State"
248+ values: {
249+ "Unknown": 0,
250+ "Restored": 1,
251+ "Minimized": 2,
252+ "Maximized": 3,
253+ "VertMaximized": 4,
254+ "Fullscreen": 5
255+ }
256+ }
257+ Property { name: "type"; type: "Type"; isReadonly: true }
258+ Property { name: "state"; type: "State"; isReadonly: true }
259+ Property { name: "name"; type: "string"; isReadonly: true }
260+ Property { name: "parentSurface"; type: "MirSurfaceItem"; isReadonly: true; isPointer: true }
261+ Property { name: "childSurfaces"; type: "MirSurfaceItem"; isList: true; isReadonly: true }
262+ Signal {
263+ name: "typeChanged"
264+ Parameter { type: "Type" }
265+ }
266+ Signal {
267+ name: "stateChanged"
268+ Parameter { type: "State" }
269+ }
270+ Signal {
271+ name: "nameChanged"
272+ Parameter { type: "string" }
273+ }
274+ Signal {
275+ name: "parentSurfaceChanged"
276+ Parameter { type: "MirSurfaceItem"; isPointer: true }
277+ }
278+ Signal { name: "removed" }
279+ Signal { name: "inputMethodRequested" }
280+ Signal { name: "inputMethodDismissed" }
281+ Method {
282+ name: "setState"
283+ Parameter { name: "newState"; type: "State" }
284+ }
285+ Method { name: "release" }
286+ }
287+ Component {
288+ name: "SurfaceManager"
289+ prototype: "QObject"
290+ exports: ["Unity.Application/SurfaceManager 0.1"]
291+ isCreatable: false
292+ isSingleton: true
293+ exportMetaObjectRevisions: [0]
294+ Signal { name: "countChanged" }
295+ Signal {
296+ name: "surfaceCreated"
297+ Parameter { name: "surface"; type: "MirSurfaceItem"; isPointer: true }
298+ }
299+ Signal {
300+ name: "surfaceDestroyed"
301+ Parameter { name: "surface"; type: "MirSurfaceItem"; isPointer: true }
302+ }
303+ Method { name: "inputMethodSurface"; type: "MirSurfaceItem*" }
304+ }
180305 Component {
181306 name: "unity::shell::application::ApplicationInfoInterface"
182307 prototype: "QObject"