~ubuntu-branches/ubuntu/vivid/ekiga/vivid-proposed

« back to all changes in this revision

Viewing changes to lib/engine/gui/gtk-core/form-dialog-gtk.h

  • Committer: Bazaar Package Importer
  • Author(s): Kilian Krause
  • Date: 2011-07-17 00:24:50 UTC
  • mfrom: (5.1.5 upstream) (7.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110717002450-ytg3wsrc1ptd3153
Tags: 3.3.1-1
* New upstream release.
 - Required libpt-dev 2.10 and libopal-dev 3.10
* Fix debian/watch to catch new version
* Remove libnotify0.7.patch - included upstream
* Add libboost-dev and libboost-signals-dev to Build-Depends
* debian/rules: Don't install *.la files for new internal shared libs
* Fix Vcs URIs to point to correct desktop/experimental/ekiga tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
3
 * Ekiga -- A VoIP and Video-Conferencing application
4
 
 * Copyright (C) 2000-2007 Damien Sandras
 
4
 * Copyright (C) 2000-2009 Damien Sandras <dsandras@seconix.com>
5
5
 
6
6
 * This program is free software; you can  redistribute it and/or modify
7
7
 * it under the terms of the GNU General Public License as published by
55
55
{
56
56
public:
57
57
 
58
 
  FormDialog (Ekiga::FormRequest &request,
 
58
  FormDialog (Ekiga::FormRequestPtr request,
59
59
              GtkWidget *parent);
60
60
 
61
61
  ~FormDialog ();
78
78
 
79
79
  void boolean (const std::string name,
80
80
                const std::string description,
81
 
                bool value);
 
81
                bool value,
 
82
                bool advanced);
82
83
 
83
84
  void text (const std::string name,
84
85
             const std::string description,
85
 
             const std::string value);
 
86
             const std::string value,
 
87
             const std::string tooltip,
 
88
             bool advanced);
86
89
 
87
90
  void private_text (const std::string name,
88
91
                     const std::string description,
89
 
                     const std::string value);
 
92
                     const std::string value,
 
93
             const std::string tooltip,
 
94
                     bool advanced);
90
95
 
91
96
  void multi_text (const std::string name,
92
97
                   const std::string description,
93
 
                   const std::string value);
 
98
                   const std::string value,
 
99
                   bool advanced);
94
100
 
95
101
  void single_choice (const std::string name,
96
102
                      const std::string description,
97
103
                      const std::string value,
98
 
                      const std::map<std::string, std::string> choices);
 
104
                      const std::map<std::string, std::string> choices,
 
105
                      bool advanced);
99
106
 
100
107
  void multiple_choice (const std::string name,
101
108
                        const std::string description,
102
109
                        const std::set<std::string> values,
103
 
                        const std::map<std::string, std::string> choices);
 
110
                        const std::map<std::string, std::string> choices,
 
111
                        bool advanced);
104
112
 
105
113
  void editable_set (const std::string name,
106
114
                     const std::string description,
107
115
                     const std::set<std::string> values,
108
 
                     const std::set<std::string> proposed_values);
 
116
                     const std::set<std::string> proposed_values,
 
117
                     bool advanced);
109
118
 
110
119
  /* those are public only to be called from C code */
111
120
 
115
124
 
116
125
private:
117
126
 
118
 
  Ekiga::FormRequest &request;
 
127
  void grow_fields (bool advanced);
 
128
 
 
129
  Ekiga::FormRequestPtr request;
119
130
  GtkWidget *window;
120
131
  GtkWidget *preamble;
121
132
  GtkWidget *fields;
 
133
  GtkWidget* expander;
 
134
  GtkWidget* advanced_fields;
122
135
  GtkSizeGroup *labels_group;
123
136
  GtkSizeGroup *options_group;
124
137
  unsigned int rows;
 
138
  unsigned int advanced_rows;
125
139
  std::list<Submitter *> submitters;
126
140
};
127
141