~mir-team/mir/0.17

« back to all changes in this revision

Viewing changes to include/client/mir_toolkit/mir_client_library.h

  • Committer: Daniel van Vugt
  • Date: 2013-04-24 05:22:20 UTC
  • mfrom: (628 trunk)
  • mto: This revision was merged to the branch mainline in revision 629.
  • Revision ID: daniel.van.vugt@canonical.com-20130424052220-qhpyhw2resxzr7bq
MergeĀ latestĀ lp:mir

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
 */
268
268
MirSurfaceType mir_surface_get_type(MirSurface *surface);
269
269
 
 
270
/**
 
271
 * Change the state of a surface.
 
272
 *   \param [in] surface  The surface to operate on
 
273
 *   \param [in] state    The new state of the surface
 
274
 *   \return              A wait handle that can be passed to mir_wait_for
 
275
 */
 
276
MirWaitHandle* mir_surface_set_state(MirSurface *surface,
 
277
                                     MirSurfaceState state);
 
278
 
 
279
/**
 
280
 * Get the current state of a surface.
 
281
 *   \param [in] surface  The surface to query
 
282
 *   \return              The state of the surface
 
283
 */
 
284
MirSurfaceState mir_surface_get_state(MirSurface *surface);
 
285
 
270
286
#ifdef __cplusplus
271
287
}
272
288
/**@}*/