~ubuntu-branches/debian/sid/gmtp/sid

« back to all changes in this revision

Viewing changes to src/prefs.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2011-01-24 17:21:38 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110124172138-30ssabr3ki093ji8
Tags: 0.8-1
* New upstream release.
* Refresh patches.
* Update debian/copyright.
* Add patch to improve the Italian translation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* 
 
2
*
 
3
*   File: prefs.h
 
4
*   
 
5
*   Copyright (C) 2009-2011 Darran Kartaschew
 
6
*
 
7
*   This file is part of the gMTP package.
 
8
*
 
9
*   gMTP is free software; you can redistribute it and/or modify
 
10
*   it under the terms of the BSD License as included within the
 
11
*   file 'COPYING' located in the root directory
 
12
*
 
13
*/
 
14
 
 
15
#ifndef _PREFS_H
 
16
#define _PREFS_H
 
17
 
 
18
#ifdef  __cplusplus
 
19
extern "C" {
 
20
#endif
 
21
 
 
22
typedef struct  {
 
23
        GString *fileSystemDownloadPath;
 
24
        GString *fileSystemUploadPath;
 
25
        gboolean attemptDeviceConnectOnStart;
 
26
        gboolean ask_download_path;
 
27
        gboolean prompt_overwrite_file_op;
 
28
        gboolean confirm_file_delete_op;
 
29
    gboolean view_size;
 
30
    gboolean view_type;
 
31
    gboolean view_track_number;
 
32
    gboolean view_title;
 
33
    gboolean view_artist;
 
34
    gboolean view_album;
 
35
    gboolean view_year;
 
36
    gboolean view_genre;
 
37
    gboolean view_duration;
 
38
} Preferences_Struct;
 
39
 
 
40
Preferences_Struct Preferences;
 
41
GConfClient *gconfconnect;
 
42
 
 
43
void setupPreferences();
 
44
gboolean loadPreferences();
 
45
gboolean savePreferences();
 
46
 
 
47
void gconf_callback_func(GConfClient *client, guint cnxn_id, GConfEntry *entry, gpointer user_data);
 
48
 
 
49
#ifdef  __cplusplus
 
50
}
 
51
#endif
 
52
 
 
53
#endif  /* _PREFS_H */
 
54