Blame src/terminal-profiles-list.h

Packit Service 3bdf47
/*
Packit Service 3bdf47
 * Copyright © 2013 Christian Persch
Packit Service 3bdf47
 *
Packit Service 3bdf47
 * This program is free software: you can redistribute it and/or modify
Packit Service 3bdf47
 * it under the terms of the GNU General Public License as published by
Packit Service 3bdf47
 * the Free Software Foundation, either version 3 of the License, or
Packit Service 3bdf47
 * (at your option) any later version.
Packit Service 3bdf47
 *
Packit Service 3bdf47
 * This program is distributed in the hope that it will be useful,
Packit Service 3bdf47
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 3bdf47
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 3bdf47
 * GNU General Public License for more details.
Packit Service 3bdf47
 *
Packit Service 3bdf47
 * You should have received a copy of the GNU General Public License
Packit Service 3bdf47
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
Packit Service 3bdf47
 */
Packit Service 3bdf47
Packit Service 3bdf47
#ifndef TERMINAL_PROFILES_LIST_H
Packit Service 3bdf47
#define TERMINAL_PROFILES_LIST_H
Packit Service 3bdf47
Packit Service 3bdf47
#include <glib.h>
Packit Service 3bdf47
#include <gio/gio.h>
Packit Service 3bdf47
Packit Service 3bdf47
#include "terminal-settings-list.h"
Packit Service 3bdf47
Packit Service 3bdf47
G_BEGIN_DECLS
Packit Service 3bdf47
Packit Service 3bdf47
TerminalSettingsList *terminal_profiles_list_new (void);
Packit Service 3bdf47
Packit Service 3bdf47
GList *terminal_profiles_list_ref_children_sorted (TerminalSettingsList *list);
Packit Service 3bdf47
Packit Service 3bdf47
char *terminal_profiles_list_dup_uuid (TerminalSettingsList *list,
Packit Service 3bdf47
                                       const char *uuid,
Packit Service 3bdf47
                                       GError **error);
Packit Service 3bdf47
Packit Service 3bdf47
GSettings *terminal_profiles_list_ref_profile_by_uuid (TerminalSettingsList *list,
Packit Service 3bdf47
                                                       const char *uuid,
Packit Service 3bdf47
                                                       GError **error);
Packit Service 3bdf47
Packit Service 3bdf47
char *terminal_profiles_list_dup_uuid_or_name (TerminalSettingsList *list,
Packit Service 3bdf47
                                               const char *uuid_or_name,
Packit Service 3bdf47
                                               GError **error);
Packit Service 3bdf47
Packit Service 3bdf47
GSettings *terminal_profiles_list_ref_profile_by_uuid_or_name (TerminalSettingsList *list,
Packit Service 3bdf47
                                                               const char *uuid_or_name,
Packit Service 3bdf47
                                                               GError **error);
Packit Service 3bdf47
Packit Service 3bdf47
int terminal_profiles_compare (gconstpointer pa,
Packit Service 3bdf47
                               gconstpointer pb);
Packit Service 3bdf47
Packit Service 3bdf47
G_END_DECLS
Packit Service 3bdf47
Packit Service 3bdf47
#endif /* TERMINAL_PROFILES_LIST_H */