PageRenderTime 15ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 0ms app.codeStats 0ms

/packages/cocoaint/src/webkit/DOMCSSMediaRule.inc

https://github.com/slibre/freepascal
Pascal | 58 lines | 13 code | 15 blank | 30 comment | 0 complexity | 20885e889141f8422eca3e001d7c1c3e MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
 1{ Parsed from Webkit.framework DOMCSSMediaRule.h }
 2
 3{$ifdef TYPES}
 4{$ifndef DOMCSSMEDIARULE_PAS_T}
 5{$define DOMCSSMEDIARULE_PAS_T}
 6
 7{$endif}
 8{$endif}
 9
10{$ifdef RECORDS}
11{$ifndef DOMCSSMEDIARULE_PAS_R}
12{$define DOMCSSMEDIARULE_PAS_R}
13
14{$endif}
15{$endif}
16
17{$ifdef FUNCTIONS}
18{$ifndef DOMCSSMEDIARULE_PAS_F}
19{$define DOMCSSMEDIARULE_PAS_F}
20
21{$endif}
22{$endif}
23
24{$ifdef EXTERNAL_SYMBOLS}
25{$ifndef DOMCSSMEDIARULE_PAS_S}
26{$define DOMCSSMEDIARULE_PAS_S}
27
28{$endif}
29{$endif}
30
31{$ifdef FORWARD}
32  DOMCSSMediaRule = objcclass;
33  DOMCSSMediaRulePointer = ^DOMCSSMediaRule;
34  DOMCSSMediaRulePtr = DOMCSSMediaRulePointer;
35
36{$endif}
37
38{$ifdef CLASSES}
39{$ifndef DOMCSSMEDIARULE_PAS_C}
40{$define DOMCSSMEDIARULE_PAS_C}
41
42{ DOMCSSMediaRule }
43  DOMCSSMediaRule = objcclass external (DOMCSSRule)
44    
45  public
46    function media: DOMMediaList; message 'media';
47    function cssRules: DOMCSSRuleList; message 'cssRules';
48    function insertRule_index(rule: NSString; index: cuint): cuint; message 'insertRule:index:';
49    procedure deleteRule(index: cuint); message 'deleteRule:';
50  end;
51
52{ DOMCSSMediaRuleDeprecatedCategory }
53  DOMCSSMediaRuleDeprecatedCategory = objccategory external (DOMCSSMediaRule)
54    function insertRule(rule: NSString; index: cuint): cuint; message 'insertRule:rule:'; deprecated 'in_webkit_version_3 and later';
55  end;
56
57{$endif}
58{$endif}