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

Side by Side Diff: src/mm-port.h

Issue 6614026: modemmanager: Add support for Samsung Y3300 modem (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/modemmanager.git@master
Patch Set: Created 9 years, 9 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 | « plugins/mm-plugin-samsung.c ('k') | src/mm-port.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 14 matching lines...) Expand all
25 MM_PORT_SUBSYS_TTY, 25 MM_PORT_SUBSYS_TTY,
26 MM_PORT_SUBSYS_NET, 26 MM_PORT_SUBSYS_NET,
27 27
28 MM_PORT_SUBSYS_LAST = MM_PORT_SUBSYS_NET 28 MM_PORT_SUBSYS_LAST = MM_PORT_SUBSYS_NET
29 } MMPortSubsys; 29 } MMPortSubsys;
30 30
31 typedef enum { 31 typedef enum {
32 MM_PORT_TYPE_UNKNOWN = 0x0, 32 MM_PORT_TYPE_UNKNOWN = 0x0,
33 MM_PORT_TYPE_PRIMARY, 33 MM_PORT_TYPE_PRIMARY,
34 MM_PORT_TYPE_SECONDARY, 34 MM_PORT_TYPE_SECONDARY,
35 MM_PORT_TYPE_ECM,
35 MM_PORT_TYPE_IGNORED, 36 MM_PORT_TYPE_IGNORED,
36 MM_PORT_TYPE_QCDM, 37 MM_PORT_TYPE_QCDM,
37 38
38 MM_PORT_TYPE_LAST = MM_PORT_TYPE_QCDM 39 MM_PORT_TYPE_LAST = MM_PORT_TYPE_QCDM
39 } MMPortType; 40 } MMPortType;
40 41
41 #define MM_TYPE_PORT (mm_port_get_type ()) 42 #define MM_TYPE_PORT (mm_port_get_type ())
42 #define MM_PORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_PORT , MMPort)) 43 #define MM_PORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_PORT , MMPort))
43 #define MM_PORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MM_TYPE_PORT , MMPortClass)) 44 #define MM_PORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MM_TYPE_PORT , MMPortClass))
44 #define MM_IS_PORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_PORT )) 45 #define MM_IS_PORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MM_TYPE_PORT ))
(...skipping 30 matching lines...) Expand all
75 gboolean mm_port_get_connected (MMPort *self); 76 gboolean mm_port_get_connected (MMPort *self);
76 77
77 void mm_port_set_connected (MMPort *self, gboolean connected); 78 void mm_port_set_connected (MMPort *self, gboolean connected);
78 79
79 const char * mm_port_type_to_name (MMPortType ptype); 80 const char * mm_port_type_to_name (MMPortType ptype);
80 81
81 const char * mm_port_subsys_to_name (MMPortSubsys psubsys); 82 const char * mm_port_subsys_to_name (MMPortSubsys psubsys);
82 83
83 #endif /* MM_PORT_H */ 84 #endif /* MM_PORT_H */
84 85
OLDNEW
« no previous file with comments | « plugins/mm-plugin-samsung.c ('k') | src/mm-port.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698