~ubuntu-branches/debian/sid/atkmm1.6/sid

« back to all changes in this revision

Viewing changes to atk/atkmm/hypertext.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Simon McVittie, Michael Biebl
  • Date: 2015-09-28 13:19:44 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20150928131944-2a23bbzyd1w4riuf
Tags: 2.24.1-1
[ Simon McVittie ]
* debian/copyright: add some missing copyright holders

[ Michael Biebl ]
* New upstream release.
* Drop obsolete Breaks/Replaces from pre-wheezy.
* Update Build-Depends as per configure.ac:
  - Bump libglibmm-2.4-dev to (>= 2.46.1)
  - Bump libatk1.0-dev to (>= 1.18)
  - Bump mm-common to (>= 0.9.8)
* Bump Standards-Version to 3.9.6.
* Set pkg-gnome-maintainers@lists.alioth.debian.org as Maintainer and move
  Krzysztof Klimonda to Uploaders.
* Bump SHVER to 2.24.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// -*- c++ -*-
2
 
// Generated by gtkmmproc -- DO NOT MODIFY!
 
2
// Generated by gmmproc 2.46.1 -- DO NOT MODIFY!
3
3
#ifndef _ATKMM_HYPERTEXT_H
4
4
#define _ATKMM_HYPERTEXT_H
5
5
 
45
45
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
46
46
 
47
47
 
 
48
#ifndef DOXYGEN_SHOULD_SKIP_THIS
48
49
namespace Atk
49
50
{ class Hypertext_Class; } // namespace Atk
 
51
#endif // DOXYGEN_SHOULD_SKIP_THIS
 
52
 
50
53
namespace Atk
51
54
{
52
55
 
64
67
  typedef AtkHypertext BaseObjectType;
65
68
  typedef AtkHypertextIface BaseClassType;
66
69
 
 
70
  // noncopyable
 
71
  Hypertext(const Hypertext&) = delete;
 
72
  Hypertext& operator=(const Hypertext&) = delete;
 
73
 
67
74
private:
68
75
  friend class Hypertext_Class;
69
76
  static CppClassType hypertext_class_;
70
77
 
71
 
  // noncopyable
72
 
  Hypertext(const Hypertext&);
73
 
  Hypertext& operator=(const Hypertext&);
74
 
 
75
78
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
76
79
protected:
77
80
  /**
78
81
   * You should derive from this class to use it.
79
82
   */
80
83
  Hypertext();
81
 
  
 
84
 
82
85
#ifndef DOXYGEN_SHOULD_SKIP_THIS
83
86
  /** Called by constructors of derived classes. Provide the result of 
84
87
   * the Class init() function to ensure that it is properly 
98
101
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
99
102
 
100
103
public:
101
 
  virtual ~Hypertext();
 
104
 
 
105
  Hypertext(Hypertext&& src) noexcept;
 
106
  Hypertext& operator=(Hypertext&& src) noexcept;
 
107
 
 
108
  virtual ~Hypertext() noexcept;
102
109
 
103
110
  static void add_interface(GType gtype_implementer);
104
111
 
123
130
  
124
131
  /** Gets the link in this hypertext document at index 
125
132
   *  @a link_index
 
133
   * 
126
134
   * @param link_index An integer specifying the desired link.
127
135
   * @return The link in this hypertext document at
128
136
   * index @a link_index.
131
139
  
132
140
  /** Gets the link in this hypertext document at index 
133
141
   *  @a link_index
 
142
   * 
134
143
   * @param link_index An integer specifying the desired link.
135
144
   * @return The link in this hypertext document at
136
145
   * index @a link_index.
138
147
  Glib::RefPtr<const Hyperlink> get_link(int link_index) const;
139
148
  
140
149
  /** Gets the number of links within this hypertext document.
 
150
   * 
141
151
   * @return The number of links within this hypertext document.
142
152
   */
143
153
  int get_n_links() const;
144
154
  
145
155
  /** Gets the index into the array of hyperlinks that is associated with
146
156
   * the character specified by @a char_index.
 
157
   * 
147
158
   * @param char_index A character index.
148
159
   * @return An index into the array of hyperlinks in @a hypertext,
149
160
   * or -1 if there is no hyperlink associated with this character.
151
162
  int get_link_index(int char_index) const;
152
163
 
153
164
  
154
 
/**
 
165
  /**
155
166
   * @par Slot Prototype:
156
167
   * <tt>void on_my_%link_selected(int link_index)</tt>
157
168
   *
 
169
   * The "link-selected" signal is emitted by an AtkHyperText
 
170
   * object when one of the hyperlinks associated with the object
 
171
   * is selected.
 
172
   * 
 
173
   * @param link_index The index of the hyperlink which is selected.
158
174
   */
159
175
 
160
176
  Glib::SignalProxy1< void,int > signal_link_selected();