Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/mm-modem-cdma.h

Issue 3517013: Add ActivateManual, ActivateManualDebug (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/modemmanager.git
Patch Set: Fixed comment Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « introspection/mm-modem-cdma.xml ('k') | src/mm-modem-cdma.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* 2 /*
3 * This program is free software; you can redistribute it and/or modify 3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by 4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or 5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version. 6 * (at your option) any later version.
7 * 7 *
8 * This program is distributed in the hope that it will be useful, 8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 MMModemCdmaServingSystemFn callback, 66 MMModemCdmaServingSystemFn callback,
67 gpointer user_data); 67 gpointer user_data);
68 68
69 void (*get_registration_state) (MMModemCdma *self, 69 void (*get_registration_state) (MMModemCdma *self,
70 MMModemCdmaRegistrationStateFn callback, 70 MMModemCdmaRegistrationStateFn callback,
71 gpointer user_data); 71 gpointer user_data);
72 void (*activate) (MMModemCdma *self, 72 void (*activate) (MMModemCdma *self,
73 MMModemUIntFn callback, 73 MMModemUIntFn callback,
74 gpointer user_data); 74 gpointer user_data);
75 75
76 void (*activate_manual) (MMModemCdma *self,
77 MMModemUIntFn callback,
78 gpointer user_data);
79
80 void (*activate_manual_debug) (MMModemCdma *self,
81 MMModemUIntFn callback,
82 gpointer user_data);
83
76 /* Signals */ 84 /* Signals */
77 void (*signal_quality) (MMModemCdma *self, 85 void (*signal_quality) (MMModemCdma *self,
78 guint32 quality); 86 guint32 quality);
79 87
80 void (*registration_state_changed) (MMModemCdma *self, 88 void (*registration_state_changed) (MMModemCdma *self,
81 MMModemCdmaRegistrationState cdma_1x_new _state, 89 MMModemCdmaRegistrationState cdma_1x_new _state,
82 MMModemCdmaRegistrationState evdo_new_st ate); 90 MMModemCdmaRegistrationState evdo_new_st ate);
83 }; 91 };
84 92
85 GType mm_modem_cdma_get_type (void); 93 GType mm_modem_cdma_get_type (void);
86 94
87 void mm_modem_cdma_get_signal_quality (MMModemCdma *self, 95 void mm_modem_cdma_get_signal_quality (MMModemCdma *self,
88 MMModemUIntFn callback, 96 MMModemUIntFn callback,
89 gpointer user_data); 97 gpointer user_data);
90 98
91 void mm_modem_cdma_get_esn (MMModemCdma *self, 99 void mm_modem_cdma_get_esn (MMModemCdma *self,
92 MMModemStringFn callback, 100 MMModemStringFn callback,
93 gpointer user_data); 101 gpointer user_data);
94 102
95 void mm_modem_cdma_get_serving_system (MMModemCdma *self, 103 void mm_modem_cdma_get_serving_system (MMModemCdma *self,
96 MMModemCdmaServingSystemFn callback, 104 MMModemCdmaServingSystemFn callback,
97 gpointer user_data); 105 gpointer user_data);
98 106
99 void mm_modem_cdma_get_registration_state (MMModemCdma *self, 107 void mm_modem_cdma_get_registration_state (MMModemCdma *self,
100 MMModemCdmaRegistrationStateFn callba ck, 108 MMModemCdmaRegistrationStateFn callba ck,
101 gpointer user_data); 109 gpointer user_data);
102 void mm_modem_cdma_activate (MMModemCdma *self, MMModemUIntFn callback, 110 void mm_modem_cdma_activate (MMModemCdma *self, MMModemUIntFn callback,
103 gpointer user_data); 111 gpointer user_data);
104 112
113 void mm_modem_cdma_activate_manual (MMModemCdma *self, MMModemUIntFn callback,
114 gpointer user_data);
115
116 void mm_modem_cdma_activate_manual_debug (MMModemCdma *self, MMModemUIntFn callb ack,
117 gpointer user_data);
118
105 /* Protected */ 119 /* Protected */
106 120
107 void mm_modem_cdma_emit_signal_quality_changed (MMModemCdma *self, guint32 new_q uality); 121 void mm_modem_cdma_emit_signal_quality_changed (MMModemCdma *self, guint32 new_q uality);
108 122
109 void mm_modem_cdma_emit_registration_state_changed (MMModemCdma *self, 123 void mm_modem_cdma_emit_registration_state_changed (MMModemCdma *self,
110 MMModemCdmaRegistrationState cdma_1x_new_state, 124 MMModemCdmaRegistrationState cdma_1x_new_state,
111 MMModemCdmaRegistrationState evdo_new_state); 125 MMModemCdmaRegistrationState evdo_new_state);
112 126
113 #endif /* MM_MODEM_CDMA_H */ 127 #endif /* MM_MODEM_CDMA_H */
OLDNEW
« no previous file with comments | « introspection/mm-modem-cdma.xml ('k') | src/mm-modem-cdma.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698