File: gnome-desktop-utils.h

package info (click to toggle)
cinnamon-desktop 3.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,196 kB
  • sloc: ansic: 18,069; python: 125; makefile: 10
file content (51 lines) | stat: -rw-r--r-- 1,705 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* -*- Mode: C; c-set-style: linux indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* gnome-ditem.h - Utilities for the GNOME Desktop

   Copyright (C) 1998 Tom Tromey
   All rights reserved.

   This file is part of the Gnome Library.

   The Gnome Library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Library General Public License as
   published by the Free Software Foundation; either version 2 of the
   License, or (at your option) any later version.
   
   The Gnome Library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Library General Public License for more details.
   
   You should have received a copy of the GNU Library General Public
   License along with the Gnome Library; see the file COPYING.LIB.  If not,
   write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
   Boston, MA 02110-1301, USA.  */
/*
  @NOTATION@
 */

#ifndef GNOME_DESKTOP_UTILS_H
#define GNOME_DESKTOP_UTILS_H

#ifndef GNOME_DESKTOP_USE_UNSTABLE_API
#error    gnome-desktop-utils is unstable API. You must define GNOME_DESKTOP_USE_UNSTABLE_API before including gnome-desktop-utils.h
#endif

#include <glib.h>
#include <glib-object.h>

#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include <pwd.h>

G_BEGIN_DECLS

/* prepend the terminal command to a vector */
void gnome_desktop_prepend_terminal_to_vector (int *argc, char ***argv);

const char *gnome_desktop_get_media_key_string (gint type);
struct passwd *gnome_desktop_get_session_user_pwent (void);

G_END_DECLS

#endif /* GNOME_DITEM_H */