File: ticket.h

package info (click to toggle)
phosh 0.53.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,936 kB
  • sloc: ansic: 83,383; xml: 3,981; python: 717; sh: 449; makefile: 34; lisp: 22; javascript: 6
file content (23 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (C) 2022 Purism SPC
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

#pragma once

#include <gio/gio.h>

G_BEGIN_DECLS

#define PHOSH_TYPE_TICKET (phosh_ticket_get_type ())

G_DECLARE_FINAL_TYPE (PhoshTicket, phosh_ticket, PHOSH, TICKET, GObject)

PhoshTicket       *phosh_ticket_new (GFile *file, GFileInfo *info);
GFile             *phosh_ticket_get_file (PhoshTicket *self);
const char        *phosh_ticket_get_display_name (PhoshTicket *self);
GIcon             *phosh_ticket_get_icon (PhoshTicket *self);
GDateTime         *phosh_ticket_get_mod_time (PhoshTicket *self);

G_END_DECLS