Blame src/terminal-client-utils.h

Packit Service 3bdf47
/*
Packit Service 3bdf47
 * Copyright © 2011 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_CLIENT_UTILS_H
Packit Service 3bdf47
#define TERMINAL_CLIENT_UTILS_H
Packit Service 3bdf47
Packit Service 3bdf47
#include <gio/gio.h>
Packit Service 3bdf47
#include <gio/gunixfdlist.h>
Packit Service 3bdf47
Packit Service 3bdf47
G_BEGIN_DECLS
Packit Service 3bdf47
Packit Service 3bdf47
void terminal_client_append_create_instance_options (GVariantBuilder *builder,
Packit Service 3bdf47
                                                     const char      *display_name,
Packit Service 3bdf47
                                                     const char      *startup_id,
Packit Service 3bdf47
                                                     const char      *geometry,
Packit Service 3bdf47
                                                     const char      *role,
Packit Service 3bdf47
                                                     const char      *profile,
Packit Service 3bdf47
                                                     const char      *encoding,
Packit Service 3bdf47
                                                     const char      *title,
Packit Service 3bdf47
                                                     gboolean         active,
Packit Service 3bdf47
                                                     gboolean         maximise_window,
Packit Service 3bdf47
                                                     gboolean         fullscreen_window);
Packit Service 3bdf47
Packit Service 3bdf47
typedef struct {
Packit Service 3bdf47
  int index;
Packit Service 3bdf47
  int fd;
Packit Service 3bdf47
} PassFdElement;
Packit Service 3bdf47
Packit Service 3bdf47
void terminal_client_append_exec_options            (GVariantBuilder *builder,
Packit Service 3bdf47
                                                     const char      *working_directory,
Packit Service 3bdf47
                                                     PassFdElement   *fd_array,
Packit Service 3bdf47
                                                     gsize            fd_array_len,
Packit Service 3bdf47
                                                     gboolean         shell);
Packit Service 3bdf47
Packit Service 3bdf47
char * terminal_client_get_fallback_startup_id      (void);
Packit Service 3bdf47
Packit Service 3bdf47
G_END_DECLS
Packit Service 3bdf47
Packit Service 3bdf47
#endif /* TERMINAL_UTIL_UTILS_H */