summaryrefslogtreecommitdiffstats
path: root/README.rdoc
blob: 1c4a53f0a6e399f6872e19c326aee8b1ef5c7cef (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
ffi-efl
    by Jérémy Zurcher
    http://asynk.ch

== DESCRIPTION:

A ruby-ffi binding to efl libraries (Enlightenment Foundation Libraries).

== FEATURES/PROBLEMS:

* Not 1.8 compatible yet !!!

== SYNOPSIS:

    require 'efl'
    Efl::Eet.init
    Efl::Eet::REetFile.open('/tmp/_eet.cfg', :eet_file_mode_write) do |f|
        f.write 'config2', 'test--key'
    end
    Efl::Eet::REetFile.open('/tmp/_eet.cfg', :eet_file_mode_read) do |f|
        puts f.read('config2')
    end
    Efl::Eet.shutdown

For less minimalistic and more sane examples you may look at:

* the spec/ and test/ folders

== REQUIREMENTS:

* You need a sane enlightenment foundation libraries installation,
  for this you might like to use easy_e17.sh[http://omicron.homeip.net/projects/#easy_e17.sh].

== DOWNLOAD/INSTALL:

From rubygems:

  [sudo] gem install ffi-efl

or from the git repository on github:

  git clone git://github.com/jeremyz/ffi-efl.git
  cd ffi-efl
  rake gem:install

== RESOURCES:

You can find this project in a few places:

Online repositories:

* https://github.com/jeremyz/ffi-efl
* http://cgit.asynk.ch/cgi-bin/cgit/ffi-efl/
* https://gitorious.org/ffi-efl

Gem:

* https://rubygems.org/gems/ffi-efl

== CREDITS:

Special thanks to:

* Lionel Orry

== LICENSE:

See MIT-LICENSE file.