-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsendjob.h
71 lines (62 loc) · 2.76 KB
/
sendjob.h
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
//
// Copyright (C) 2001,2002,2003,2004 Jorge Daza Garcia-Blanes
//
// This program 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; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA
//
#ifndef _SENDJOB_H_
#define _SENDJOB_H_
#include <fstream>
#include "job.h"
// FIXME: Use Koj types from libdrqueue/job.h
#define TOJ_NONE 0
#define TOJ_MAYA 1 // Maya koj
#define TOJ_BLENDER 2 // Blender koj
#define TOJ_THREEDELIGHT 4 // 3delight koj
#define TOJ_PIXIE 5 // Pixie koj
#define TOJ_MENTALRAY 6 // Mental ray
#define TOJ_LIGHTWAVE 7 // Lightwave koj
#define TOJ_AFTEREFFECTS 8 // After Effects koj
#define TOJ_SHAKE 9 // Shake koj
#define TOJ_AQSIS 10 // Aqsis koj
#define TOJ_TERRAGEN 11 // Terragen koj
#define TOJ_NUKE 12 // Nuke koj
#define TOJ_TURTLE 13 // Turtle koj
#define TOJ_MANTRA 14 // Mantra koj
#define TOJ_XSI 15 // XSI koj
#define TOJ_LUXRENDER 16 // Luxrender koj
#define TOJ_GENERAL 17 // General koj
void presentation (void);
int RegisterGeneralJob (char* infile, int frameStart, int frameEnd, int frameStep);
int RegisterMayaJobFromFile (std::ifstream &infile);
int RegisterMentalrayJobFromFile (std::ifstream &infile);
int RegisterBlenderJobFromFile (std::ifstream &infile);
int RegisterThreedelightJobFromFile (std::ifstream &infile);
int RegisterPixieJobFromFile (std::ifstream &infile);
int RegisterLightwaveJobFromFile (std::ifstream &infile);
int RegisterAftereffectsJobFromFile (std::ifstream &infile);
int RegisterShakeJobFromFile (std::ifstream &infile);
int RegisterMantraJobFromFile (std::ifstream &infile);
int RegisterAqsisJobFromFile (std::ifstream &infile);
int RegisterTerragenJobFromFile (std::ifstream &infile);
int RegisterNukeJobFromFile (std::ifstream &infile);
int RegisterTurtleJobFromFile (std::ifstream &infile);
int RegisterXSIJobFromFile (std::ifstream &infile);
int RegisterLuxrenderJobFromFile (std::ifstream &infile);
int str2toj (char *str);
void show_version (void);
void cleanup (int signum);
bool debug = false;
#endif /* _SENDJOB_H_ */