File: source_extra_def.hpp

package info (click to toggle)
cppgir 2.0%2Bgit20240928.c8bb1c6%2Breally2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,228 kB
  • sloc: cpp: 14,307; ansic: 339; makefile: 11; sh: 9
file content (35 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef _GI_GLIB_SOURCE_EXTRA_DEF_HPP_
#define _GI_GLIB_SOURCE_EXTRA_DEF_HPP_

namespace gi
{
namespace repository
{
namespace GLib
{
namespace base
{
class SourceExtra : public GI_GLIB_SOURCE_BASE
{
  typedef GI_GLIB_SOURCE_BASE super_type;

public:
  using super_type::super_type;

  template<typename CallbackType>
  void set_callback(CallbackType callback) noexcept;

}; // class

#undef GI_GLIB_SOURCE_BASE
#define GI_GLIB_SOURCE_BASE base::SourceExtra

} // namespace base

} // namespace GLib

} // namespace repository

} // namespace gi

#endif