summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_cnp.rb
blob: 9f8c3e823b3ee5ccc32257e46f6a3cbaf8f16efe (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
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
require 'efl/elm/elm_object'
require 'efl/native/elm/elm_cnp'
#
module Efl
    #
    module Elm
        #
        class ElmObject
            #
            def cnp_selection_set selection, format, buf, sizet
                Native.elm_cnp_selection_set @ptr, selection, format, buf, sizet
            end
            #
            def cnp_selection_get selection, format, datacb, data
                Native.elm_cnp_selection_set @ptr, selection, format, datacb, data
            end
            #
            def cnp_selection_clear selection
                Native.elm_object_cnp_selection_clear @ptr, selection
            end
            #
        end
        #
    end
end
#
# EOF