summaryrefslogtreecommitdiff
path: root/src/OSD/OSD_Localizer.cdl
blob: dd138de5f0e8437f3efdb86a1ca832d1a8fd6f23 (plain)
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
-- File     : OSD_Localizer.cdl
-- Created  : 27 August 2010
-- Author   : Paul SUPRYATKIN
---Copyright: Open CASCADE 2010 

class Localizer from OSD 

	---Purpose:  Define the locale.

is
 Create ( Category : Integer from Standard;
          Locale   : CString from Standard);
    ---Purpose: Set locale
    ---Level: Public

 Restore( me: in out );
    ---Purpose: Restore previously locale
    ---Level: Public     

 SetLocale( me: in out;
            Category : Integer from Standard;
            Locale   : CString from Standard);
    ---Purpose: Set locale
    ---Level: Public
 
 Locale( me ) 
   returns CString from Standard;
    ---Purpose: Get locale
    ---Level: Public


 Category( me ) 
   returns Integer from Standard;
    ---Purpose: Get Gategory
    ---Level: Public


fields

   myLocale        : CString from Standard; 
   myCategory      : Integer from Standard;    

end Localizer from OSD;