This file is indexed.

/usr/share/vala/vapi/diodon.vapi is in diodon-dev 1.0.3-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
/* diodon.vapi generated by valac 0.20.1, do not modify. */

namespace Diodon {
	[CCode (cheader_filename = "diodon.h")]
	public class ConfigurationModel : GLib.Object {
		public ConfigurationModel ();
		public int clipboard_size { get; set; }
		public string history_accelerator { get; set; }
		public bool instant_paste { get; set; }
		public bool keep_clipboard_content { get; set; }
		public string previous_history_accelerator { get; set; }
		public bool synchronize_clipboards { get; set; }
		public bool use_clipboard { get; set; }
		public bool use_primary { get; set; }
	}
	[CCode (cheader_filename = "diodon.h")]
	public class Controller : GLib.Object {
		public Controller ();
		public void add_as_text_item (Diodon.ClipboardType type, string text);
		public void add_item (Diodon.IClipboardItem item);
		public void clear ();
		public void execute_paste (Diodon.IClipboardItem item);
		public Diodon.ConfigurationModel get_configuration ();
		public Diodon.IClipboardItem get_current_item (Diodon.ClipboardType type);
		public Diodon.IClipboardItem? get_item_by_checksum (string checksum);
		public Gee.List<Diodon.IClipboardItem> get_items ();
		public Gee.List<Diodon.IClipboardItem> get_items_by_cateogry (Diodon.ClipboardCategory category);
		public Diodon.KeybindingManager get_keybinding_manager ();
		public Gtk.Menu get_menu ();
		public void init ();
		public void quit ();
		public void remove_item (Diodon.IClipboardItem item);
		public void select_item (Diodon.IClipboardItem item);
		public void show_history ();
		public void show_preferences ();
		public signal void on_add_item (Diodon.IClipboardItem item);
		public signal void on_clear ();
		public signal void on_remove_item (Diodon.IClipboardItem item);
		public signal void on_select_item (Diodon.IClipboardItem item);
	}
	[CCode (cheader_filename = "diodon.h")]
	public class FileClipboardItem : GLib.Object, Diodon.IClipboardItem {
		public FileClipboardItem (Diodon.ClipboardType clipboard_type, string data) throws GLib.FileError;
	}
	[CCode (cheader_filename = "diodon.h")]
	public class ImageClipboardItem : GLib.Object, Diodon.IClipboardItem {
		public ImageClipboardItem (Diodon.ClipboardType clipboard_type, string data) throws GLib.Error;
		public ImageClipboardItem.with_image (Diodon.ClipboardType clipboard_type, Gdk.Pixbuf pixbuf) throws GLib.Error;
	}
	[CCode (cheader_filename = "diodon.h")]
	public class KeybindingManager : GLib.Object {
		public delegate void KeybindingHandlerFunc (Gdk.Event event);
		public KeybindingManager ();
		public void bind (string accelerator, Diodon.KeybindingManager.KeybindingHandlerFunc handler);
		public void init ();
		public void press (string accelerator);
		public void release (string accelerator);
		public static uint remove_lockmodifiers (uint state);
		public void unbind (string accelerator);
	}
	[CCode (cheader_filename = "diodon.h")]
	public class TextClipboardItem : GLib.Object, Diodon.IClipboardItem {
		public TextClipboardItem (Diodon.ClipboardType clipboard_type, string data);
	}
	[CCode (cheader_filename = "diodon.h")]
	public abstract class Utility : GLib.Object {
		public Utility ();
		public static string get_user_data_dir ();
		public static bool make_directory_with_parents (string directory);
	}
	[CCode (cheader_filename = "diodon.h")]
	public interface IClipboardItem : GLib.Object {
		public static bool equal_func (Diodon.IClipboardItem* item_a, Diodon.IClipboardItem* item_b);
		public abstract bool equals (Diodon.IClipboardItem* item);
		public abstract Diodon.ClipboardCategory get_category ();
		public abstract string get_checksum ();
		public abstract string get_clipboard_data ();
		public abstract Diodon.ClipboardType get_clipboard_type ();
		public abstract GLib.Icon get_icon ();
		public abstract Gtk.Image? get_image ();
		public abstract string get_label ();
		public abstract string get_mime_type ();
		public abstract uint hash ();
		public static uint hash_func (Diodon.IClipboardItem* item);
		public abstract bool matches (string search, Diodon.ClipboardItemType type);
		public abstract void remove ();
		public abstract void to_clipboard (Gtk.Clipboard clipboard);
	}
	[CCode (cheader_filename = "diodon.h")]
	public enum ClipboardCategory {
		TEXT,
		FILES,
		IMAGES
	}
	[CCode (cheader_filename = "diodon.h")]
	public enum ClipboardItemType {
		ALL,
		TEXT,
		FILES,
		IMAGES;
		public string to_string ();
		public static Diodon.ClipboardItemType from_string (string type);
	}
	[CCode (cheader_filename = "diodon.h")]
	public enum ClipboardType {
		NONE,
		CLIPBOARD,
		PRIMARY
	}
}