~gz/ubuntu/wily/steam/new_rel_udev_rules

« back to all changes in this revision

Viewing changes to server/libraries/Slotter.pmod/Slot.pike

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2013-10-29 19:51:18 UTC
  • mfrom: (1.1.4) (0.1.4 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20131029195118-b9bxciz5hwx5z459
Tags: 1:1.0.0.39-2ubuntu1
Add an epoch to the version number as there was an unrelated steam package
in the archive with a higher version number.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2000-2004  Thomas Bopp, Thorsten Hampel, Ludger Merkens
2
 
 *
3
 
 *  This program is free software; you can redistribute it and/or modify
4
 
 *  it under the terms of the GNU General Public License as published by
5
 
 *  the Free Software Foundation; either version 2 of the License, or
6
 
 *  (at your option) any later version.
7
 
 *
8
 
 *  This program is distributed in the hope that it will be useful,
9
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
 
 *  GNU General Public License for more details.
12
 
 *
13
 
 *  You should have received a copy of the GNU General Public License
14
 
 *  along with this program; if not, write to the Free Software
15
 
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
 
 * 
17
 
 * $Id: Slot.pike,v 1.1.1.1 2006/03/27 12:40:11 exodusd Exp $
18
 
 */
19
 
 
20
 
constant cvs_version="$Id: Slot.pike,v 1.1.1.1 2006/03/27 12:40:11 exodusd Exp $";
21
 
 
22
 
private Slotter.Insert oInsert; // the Insert that will generate the content
23
 
 
24
 
/**
25
 
 * set the insert to this slot
26
 
 * @param Slotter.Insert Insert - the Insert to insert
27
 
 * @authot Ludger Merkens
28
 
 */
29
 
void set_insert(Slotter.Insert Insert)
30
 
{
31
 
    oInsert = Insert;
32
 
}
33
 
 
34
 
/**
35
 
 * get the current insert
36
 
 * @return 0| Slotter.Insert - the current insert
37
 
 */
38
 
Slotter.Insert get_insert()
39
 
{
40
 
    return oInsert;
41
 
}
42
 
 
43
 
/**
44
 
 * @return the complete identifier treated as a tree separated with "."
45
 
 */
46
 
// string get_path_slot_name()
47
 
// {
48
 
//     return (oParent ? oParent->get_path_slot_name()+"." :"/")+ sSlotName;
49
 
// }
50
 
 
51
 
/**
52
 
 * set the local name according to the generating insert
53
 
 * @param string name - the local name to set
54
 
 * @see create - you can also set the name during creation
55
 
 */
56
 
// string set_slot_name(string name)
57
 
// {
58
 
//     sSlotName = name;
59
 
// }
60
 
 
61
 
/**
62
 
 * return the local name on this level of hierarchy
63
 
 * @return string - the name set to this slot (local)
64
 
 */
65
 
// string get_slot_name()
66
 
// {
67
 
//     return sSlotName;
68
 
// }
69
 
 
70
 
int is_slot() {
71
 
    return 1;
72
 
}