~ubuntu-branches/debian/stretch/gnac/stretch

« back to all changes in this revision

Viewing changes to src/profiles/gnac-profiles-properties.h

  • Committer: Package Import Robot
  • Author(s): Khalid El Fathi
  • Date: 2012-04-14 20:15:31 UTC
  • Revision ID: package-import@ubuntu.com-20120414201531-2gcfq8fs94kgp9qr
Tags: upstream-0.2.4
ImportĀ upstreamĀ versionĀ 0.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of GNAC - Gnome Audio Converter
 
3
 *
 
4
 * Copyright (C) 2007 - 2012 Gnac
 
5
 *    
 
6
 *    - DUPASQUIER  Benoit    <bdupasqu@src.gnome.org>
 
7
 *    - JOAQUIM     David     <djoaquim@src.gnome.org>
 
8
 *    - ROUX        Alexandre <alexroux@src.gnome.org>
 
9
 *
 
10
 * GNAC is free software; you can redistribute it and/or modify
 
11
 * it under the terms of the GNU General Public License as published by
 
12
 * the Free Software Foundation; either version 3 of the License, or
 
13
 * (at your option) any later version.
 
14
 *
 
15
 * GNAC is distributed in the hope that it will be useful,
 
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
 * GNU General Public License for more details.
 
19
 *
 
20
 * You should have received a copy of the GNU General Public License
 
21
 * along with GNAC; if not, write to the Free Software
 
22
 * Foundation, Inc., 51 Franklin St, Fifth Floor, 
 
23
 * Boston, MA  02110-1301  USA
 
24
 */
 
25
 
 
26
#ifndef GNAC_PROFILES_PROPERTIES_H
 
27
#define GNAC_PROFILES_PROPERTIES_H
 
28
 
 
29
#include <gtk/gtk.h>
 
30
 
 
31
#define MAX_DESCR_DISPLAY_SIZE 497
 
32
#define MAX_NAME_DISPLAY_SIZE 23
 
33
 
 
34
G_BEGIN_DECLS
 
35
 
 
36
void
 
37
gnac_profiles_properties_init(void);
 
38
 
 
39
void
 
40
gnac_profiles_properties_set_parent(GtkWindow *parent);
 
41
 
 
42
void
 
43
gnac_profiles_properties_show(gpointer     profile,
 
44
                              const gchar *title,
 
45
                              GCallback    call_back);
 
46
 
 
47
gpointer
 
48
gnac_profiles_properties_load_profile_from_file(const gchar  *path,
 
49
                                                const gchar  *filename,
 
50
                                                GError      **error);
 
51
 
 
52
void
 
53
gnac_profiles_properties_free_audio_profile(gpointer profile);
 
54
 
 
55
void
 
56
gnac_profiles_properties_destroy(void);
 
57
 
 
58
gboolean
 
59
gnac_profiles_properties_saved_profiles_contain_name(const gchar *name);
 
60
 
 
61
void
 
62
gnac_profiles_properties_save_profile(gpointer profile);
 
63
 
 
64
void
 
65
gnac_profiles_properties_on_cancel(GtkWidget *widget,
 
66
                                   gpointer   data);
 
67
 
 
68
gboolean
 
69
gnac_profiles_properties_on_name_entry_key_pressed(GtkWidget   *widget,
 
70
                                                   GdkEventKey *event,
 
71
                                                   gpointer     data);
 
72
 
 
73
gboolean
 
74
gnac_profiles_properties_on_window_key_pressed(GtkWidget   *widget,
 
75
                                               GdkEventKey *event,
 
76
                                               gpointer     data);
 
77
 
 
78
gchar *
 
79
gnac_profiles_properties_filter_text_for_display(const gchar *text,
 
80
                                                 gint         length);
 
81
 
 
82
void
 
83
gnac_profiles_properties_combo_format_on_changed(GtkComboBox *widget,
 
84
                                                 gpointer     user_data);
 
85
 
 
86
void
 
87
gnac_profiles_properties_update_textbuffer(const gchar *pipeline);
 
88
 
 
89
G_END_DECLS
 
90
 
 
91
#endif /* GNAC_PROFILES_PROPERTIES_H */