File: Services.h

package info (click to toggle)
terminal.app 0.9.4%2Bcvs20051125-6
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 460 kB
  • ctags: 106
  • sloc: objc: 6,070; makefile: 42; sh: 13
file content (42 lines) | stat: -rw-r--r-- 893 bytes parent folder | download | duplicates (9)
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
/*
copyright 2002 Alexander Malmberg <alexander@malmberg.org>

This file is a part of Terminal.app. Terminal.app 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; version 2
of the License. See COPYING or main.m for more information.
*/

#ifndef Services_h
#define Services_h

#define Key @"Key"
#define ReturnData @"ReturnData"
#define Commandline @"Commandline"
#define Input @"Input"
#define Type @"Type"
#define AcceptTypes @"AcceptTypes"

#define INPUT_NO      0
#define INPUT_STDIN   1
#define INPUT_CMDLINE 2

#define ACCEPT_STRING    1
#define ACCEPT_FILENAMES 2

#define TYPE_BACKGROUND  0
#define TYPE_WINDOW_NEW  1
#define TYPE_WINDOW_IDLE 2

@interface TerminalServices : NSObject
{
}

+(void) updateServicesPlist;

+(NSDictionary *) terminalServicesDictionary;

@end

#endif