/usr/include/phoneui/phoneui.h is in libphone-ui-dev 1:0.0.1+git20110825-3build2.
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 | /*
* Copyright (C) 2009, 2010
* Authors (alphabetical) :
* Tom "TAsn" Hacohen <tom@stosb.com>
* Klaus 'mrmoku' Kurzmann <mok@fluxnetz.de>
*
* 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
*/
#ifndef _PHONEUI_H
#define _PHONEUI_H
#include <glib.h>
#include <freesmartphone.h>
#include "phoneui-utils.h"
#define PHONEUI_CONFIG "/etc/libphoneui.conf"
#define PHONEUI_MODULES_PATH "/usr/lib/x86_64-linux-gnu/phoneui/modules/"
enum PhoneuiCallState {
PHONEUI_CALL_STATE_INCOMING = 0,
PHONEUI_CALL_STATE_OUTGOING,
PHONEUI_CALL_STATE_ACTIVE,
PHONEUI_CALL_STATE_HELD,
PHONEUI_CALL_STATE_RELEASE
};
void phoneui_load(const char *application_name);
void *phoneui_get_function(const char *name, void *phoneui_library);
/* Implementation prototypes */
void phoneui_init(int argc, char **argv, void (*exit_cb) ());
void phoneui_deinit();
void phoneui_loop();
/* Calls */
void phoneui_incoming_call_show(const int id, const int status,
const char *number);
void phoneui_incoming_call_hide(const int id);
void phoneui_outgoing_call_show(const int id, const int status,
const char *number);
void phoneui_outgoing_call_hide(const int id);
/* Contacts */
void phoneui_contacts_show();
void phoneui_contacts_contact_show(const char *contact_path);
void phoneui_contacts_contact_new(GHashTable *values);
void phoneui_contacts_contact_edit(const char *contact_path);
/* Messages */
void phoneui_messages_show();
void phoneui_messages_message_show(const char *path);
void phoneui_messages_message_new(GHashTable *options);
/* Dialer */
void phoneui_dialer_show();
/* Notifications */
void phoneui_dialog_show(const int type);
void phoneui_sim_auth_show(const int status);
void phoneui_sim_auth_hide(const int status);
void phoneui_ussd_show(int mode, const char *message);
/* Quick settings */
void phoneui_quick_settings_show();
void phoneui_quick_settings_hide();
/* Idle Screen */
void phoneui_idle_screen_show();
void phoneui_idle_screen_hide();
void phoneui_idle_screen_toggle();
/* Phone Log */
void phoneui_phone_log_show();
void phoneui_phone_log_hide();
/* SIM Manager */
void phoneui_sim_manager_show();
void phoneui_sim_manager_hide();
#endif
|