aboutsummaryrefslogtreecommitdiff
path: root/include/adwaitamm/private/actionrow_p.hpp
blob: 2b7ddf97e4aecddcf37d0ffbf5de1b1a7031295a (plain)
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
36
37
38
/**
 * @author Felix Morgner (felix.morgner@gmail.com)
 * @copyright Copyright (c) 2025
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#ifndef LIBADWAITAMM_PRIVATE_ACTION_ROW_P_HPP
#define LIBADWAITAMM_PRIVATE_ACTION_ROW_P_HPP

#include "adwaitamm/private/preferencesrow_p.hpp"

#include <glibmm/class.h>
#include <glibmm/objectbase.h>

#define _ADWAITA_INSIDE
#include <adw-action-row.h>
#undef _ADWAITA_INSIDE

namespace Adwaita
{
  struct ActionRow_Class : Glib::Class
  {
    using BaseClassParent = AdwPreferencesRowClass;
    using BaseClassType = AdwActionRowClass;
    using BaseObjectType = AdwActionRow;
    using CppClassParent = struct PreferencesRow_Class;
    using CppObjectType = struct ActionRow;

    auto init() -> Glib::Class const &;
    auto static class_init_function(void * gclass, void * data) -> void;
    auto static wrap_new(GObject * object) -> Glib::ObjectBase *;

  protected:
    auto static activate_vfunc_callback(AdwActionRow * self) -> void;
  };
}  // namespace Adwaita

#endif