/usr/share/vala/vapi/libmokoui2.vapi is in libmokoui2-vala 0.3+bzr20080630-0ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | /* libmokoui2.vapi
*
* Author: Michael 'Mickey' Lauer <mickey@vanille-media.de>
* Copyright (C) 2008 OpenMoko, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
[CCode (cprefix = "Moko", lower_case_cprefix = "moko_")]
namespace Moko {
[CCode (cprefix = "MOKO_FINGER_SCROLL_MODE_", cheader_filename = "libmokoui2.h")]
public enum FingerScrollMode {
PUSH,
ACCEL,
}
[CCode (cheader_filename = "moko-finger-scroll.h")]
public class FingerScroll : Gtk.EventBox {
public weak Gtk.EventBox parent;
public void add_with_viewport (Gtk.Widget child);
public FingerScroll ();
public FingerScroll.full (int mode, bool enabled, double vel_min, double vel_max, double decel, uint sps);
}
[CCode (cheader_filename = "moko-finger-scroll.h")]
public class FingerScrollClass {
public pointer parent_class;
}
[CCode (cheader_filename = "moko-hint-entry.h")]
public class HintEntry : Gtk.Entry {
public weak Gtk.Entry parent;
public bool is_empty ();
public HintEntry (string hint);
public void set_text (string text);
}
[CCode (cheader_filename = "moko-hint-entry.h")]
public class HintEntryClass {
public pointer parent_class;
}
[CCode (cheader_filename = "moko-search-bar.h")]
public class SearchBar : Gtk.HBox {
public weak Gtk.HBox parent;
public weak Gtk.ComboBox get_combo_box ();
public weak Gtk.Entry get_entry ();
public SearchBar ();
public SearchBar.with_combo (Gtk.ComboBox combo);
public bool search_visible ();
public void toggle ();
}
[CCode (cheader_filename = "moko-search-bar.h")]
public class SearchBarClass {
public pointer parent_class;
public GLib.Callback toggled;
public GLib.Callback text_changed;
public GLib.Callback combo_changed;
}
public const string STOCK_CALL_ANSWER;
public const string STOCK_CALL_DIAL;
public const string STOCK_CALL_DIALED;
public const string STOCK_CALL_HANGUP;
public const string STOCK_CALL_HISTORY;
public const string STOCK_CALL_HOLD;
public const string STOCK_CALL_IGNORE;
public const string STOCK_CALL_IN;
public const string STOCK_CALL_MISSED;
public const string STOCK_CALL_REDIAL;
public const string STOCK_CALL_REJECT;
public const string STOCK_CONTACT_ADDRESS;
public const string STOCK_CONTACT_DELETE;
public const string STOCK_CONTACT_EMAIL;
public const string STOCK_CONTACT_GROUPS;
public const string STOCK_CONTACT_MODE;
public const string STOCK_CONTACT_NEW;
public const string STOCK_CONTACT_PHONE;
public const string STOCK_FOLDER_DELETE;
public const string STOCK_FOLDER_NEW;
public const string STOCK_HANDSET;
public const string STOCK_HISTORY;
public const string STOCK_MAIL_DELETE;
public const string STOCK_MAIL_FORWARD;
public const string STOCK_MAIL_MARK_READ;
public const string STOCK_MAIL_NEW;
public const string STOCK_MAIL_READ;
public const string STOCK_MAIL_REPLY_ALL;
public const string STOCK_MAIL_REPLY_SENDER;
public const string STOCK_MAIL_SEND;
public const string STOCK_MAIL_SEND_RECEIVE;
public const string STOCK_PHONE_BOOK;
public const string STOCK_SEARCH;
public const string STOCK_SMS_NEW;
public const string STOCK_SPEAKER;
public const string STOCK_VIEW;
public static void stock_register ();
}
|