From d8c2a6392728bba1e78389b23b56f848045f9236 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 19 Aug 2011 23:43:45 +0200 Subject: cli: split into different option groups, in different files --- cli/mmcli.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 cli/mmcli.h (limited to 'cli/mmcli.h') diff --git a/cli/mmcli.h b/cli/mmcli.h new file mode 100644 index 00000000..bcfbe5fa --- /dev/null +++ b/cli/mmcli.h @@ -0,0 +1,37 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * mmcli -- Control modem status & access information from the command line + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * Copyright (C) 2011 Aleksander Morgado + */ + +#include + +#ifndef __MMCLI_H__ +#define __MMCLI_H__ + +/* Common */ +void mmcli_async_operation_done (void); + +/* Manager group */ +GOptionGroup *mmcli_manager_get_option_group (void); +gboolean mmcli_manager_options_enabled (void); +gboolean mmcli_manager_run_asynchronous (GDBusConnection *connection, + GCancellable *cancellable); +void mmcli_manager_run_synchronous (GDBusConnection *connection); +void mmcli_manager_shutdown (void); + +#endif /* __MMCLI_H__ */ -- cgit v1.2.3-70-g09d2