summaryrefslogtreecommitdiff
path: root/src/lib/efl/cxx/efl_part_impl.hh
blob: 6a0b9ead60046ce3c5283cea76fef61dd8d1cc29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef EFL_PART_MANUAL_IMPL_HH
#define EFL_PART_MANUAL_IMPL_HH

#define EOLIAN_CXX_EFL_PART_DECLARATION \
   ::efl::Object part(::efl::eina::string_view const& name) const;

#define EOLIAN_CXX_EFL_PART_IMPLEMENTATION \
inline ::efl::Object Part::part(::efl::eina::string_view const& name) const \
{ \
   ::Eo *handle = ::efl_part_get(_eo_ptr(), name.c_str()); \
   return ::efl::Object{handle}; \
}

#endif