1 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ 2 3 /* 4 * Copyright (C) 2014 Red Hat 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License as 8 * published by the Free Software Foundation; either version 2 of the 9 * License, or (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, but 12 * WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 19 * 02111-1307, USA. 20 * 21 * Written by: 22 * Jasper St. Pierre <jstpierre@mecheye.net> 23 */ 24 25 #ifndef META_BACKEND_NATIVE_H 26 #define META_BACKEND_NATIVE_H 27 28 #include "backends/meta-backend-private.h" 29 #include "backends/native/meta-clutter-backend-native.h" 30 #include "backends/native/meta-kms-types.h" 31 #include "backends/native/meta-launcher.h" 32 #include "backends/native/meta-udev.h" 33 34 #define META_TYPE_BACKEND_NATIVE (meta_backend_native_get_type ()) 35 META_EXPORT_TEST 36 G_DECLARE_FINAL_TYPE (MetaBackendNative, meta_backend_native, 37 META, BACKEND_NATIVE, MetaBackend) 38 39 gboolean meta_activate_vt (int vt, GError **error); 40 41 void meta_backend_native_pause (MetaBackendNative *backend_native); 42 43 void meta_backend_native_resume (MetaBackendNative *backend_native); 44 45 MetaLauncher * meta_backend_native_get_launcher (MetaBackendNative *native); 46 47 MetaUdev * meta_backend_native_get_udev (MetaBackendNative *native); 48 49 MetaKms * meta_backend_native_get_kms (MetaBackendNative *native); 50 51 const char * meta_backend_native_get_seat_id (MetaBackendNative *backend_native); 52 53 gboolean meta_backend_native_is_headless (MetaBackendNative *backend_native); 54 55 #endif /* META_BACKEND_NATIVE_H */ 56