0024166: Unable to create file with "Save" menu of voxeldemo Qt sample
[occt.git] / src / UTL / UTL.cdl
CommitLineData
b311480e 1-- Created on: 1997-11-21
2-- Created by: Mister rmi
3-- Copyright (c) 1997-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22package UTL
23uses Resource, TCollection,Storage, OSD
24is
25
26 xgetenv(aCString: CString from Standard)
27 returns ExtendedString from TCollection;
28
29 OpenFile(aFile: in out BaseDriver from Storage; aName: ExtendedString from TCollection; aMode : OpenMode from Storage)
30 returns Error from Storage;
31
32 AddToUserInfo(aData: mutable Data from Storage; anInfo: ExtendedString from TCollection);
33
34 Path(aFileName: ExtendedString from TCollection) returns Path from OSD;
35
36 Disk(aPath: Path from OSD) returns ExtendedString from TCollection;
37 Trek(aPath: Path from OSD) returns ExtendedString from TCollection;
38 Name(aPath: Path from OSD) returns ExtendedString from TCollection;
39 Extension(aPath: Path from OSD) returns ExtendedString from TCollection;
40
41 FileIterator(aPath: Path from OSD; aMask:ExtendedString from TCollection) returns FileIterator from OSD;
42
43 Extension(aFileName: ExtendedString from TCollection) returns ExtendedString from TCollection;
44
45 LocalHost returns ExtendedString from TCollection;
46
47 ExtendedString(anAsciiString: AsciiString from TCollection)
48 returns ExtendedString from TCollection;
49
50
51 GUID(anXString: ExtendedString from TCollection)
52 returns GUID from Standard;
53
54 Find(aResourceManager: Manager from Resource; aResourceName: ExtendedString from TCollection)
55 returns Boolean from Standard;
56
57 Value(aResourceManager: Manager from Resource; aResourceName: ExtendedString from TCollection)
58 returns ExtendedString from TCollection;
59
60
61 IntegerValue(anExtendedString: ExtendedString from TCollection)
62 returns Integer from Standard;
63
64 CString(anExtendedString: ExtendedString from TCollection)
65 returns CString from Standard;
66
67 IsReadOnly(aFileName: ExtendedString from TCollection)
68 returns Boolean from Standard;
69
70end UTL;