~kklimonda/ubuntu/natty/glibmm2.4/update

« back to all changes in this revision

Viewing changes to gio/giomm/iostream.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-08-28 08:32:22 UTC
  • mfrom: (1.2.38 upstream)
  • Revision ID: james.westby@ubuntu.com-20090828083222-qr6jekfjlsz52rb7
Tags: 2.21.4.1-0ubuntu1
* New upstream release: (LP: #419705)
  2.21.4.1
  - Reenable hierarchy graphs for each class
  - Remove header and footer HTML fragments
  - Use shared mm-common Doxygen style sheet
  2.21.4
  - Transition to new mm-common build infrastructure
  - Correct the if condition in Gio::MemoryInputStream::add_data().
* debian/control.in:
  - Remove debian VCS links as they confuse debcheckout
* debian/libglibmm-2.4-dev.install:
  - Install files from /usr/share/glibmm-2.4/doctool

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
 *
49
49
 * @ingroup Streams
50
50
 *
51
 
 * @newin2p22
 
51
 * @newin{2,22}
52
52
 */
53
53
 
54
54
class IOStream : public Glib::Object
104
104
   * for reading.
105
105
   * @return A InputStream, owned by the IOStream do not free.
106
106
   * 
107
 
   * @newin2p22.
 
107
   * @newin{2,22}.
108
108
   */
109
109
  Glib::RefPtr<InputStream> get_input_stream();
110
110
  
112
112
   * writing.
113
113
   * @return A OutputStream, owned by the IOStream do not free.
114
114
   * 
115
 
   * @newin2p22.
 
115
   * @newin{2,22}.
116
116
   */
117
117
  Glib::RefPtr<OutputStream> get_output_stream();
118
118
  
151
151
   * @param cancellable Optional Cancellable object, <tt>0</tt> to ignore.
152
152
   * @return <tt>true</tt> on success, <tt>false</tt> on failure
153
153
   * 
154
 
   * @newin2p22.
 
154
   * @newin{2,22}.
155
155
   */
156
156
#ifdef GLIBMM_EXCEPTIONS_ENABLED
157
157
  bool close(const Glib::RefPtr<Cancellable>& cancellable);
168
168
   * @param result A AsyncResult.
169
169
   * @return <tt>true</tt> if stream was successfully closed, <tt>false</tt> otherwise.
170
170
   * 
171
 
   * @newin2p22.
 
171
   * @newin{2,22}.
172
172
   */
173
173
#ifdef GLIBMM_EXCEPTIONS_ENABLED
174
174
  bool close_finish(const Glib::RefPtr<AsyncResult>& result);
180
180
  /** Checks if a stream is closed.
181
181
   * @return <tt>true</tt> if the stream is closed.
182
182
   * 
183
 
   * @newin2p22.
 
183
   * @newin{2,22}.
184
184
   */
185
185
  bool is_closed() const;
186
186
  
187
187
  /** Checks if a stream has pending actions.
188
188
   * @return <tt>true</tt> if @a stream has pending actions. 
189
189
   * 
190
 
   * @newin2p22.
 
190
   * @newin{2,22}.
191
191
   */
192
192
  bool has_pending() const;
193
193
  
196
196
   *  @a error.
197
197
   * @return <tt>true</tt> if pending was previously unset and is now set.
198
198
   * 
199
 
   * @newin2p22.
 
199
   * @newin{2,22}.
200
200
   */
201
201
#ifdef GLIBMM_EXCEPTIONS_ENABLED
202
202
  bool set_pending();
207
207
  
208
208
  /** Clears the pending flag on @a stream.
209
209
   * 
210
 
   * @newin2p22
 
210
   * @newin{2,22}
211
211
   */
212
212
  void clear_pending();
213
213