1# -*- tcl -*- jpeg.pcx
2# Syntax of the commands provided by package jpeg.
3#
4# For use by TclDevKit's static syntax checker (v4.1+).
5# See http://www.activestate.com/solutions/tcl/
6# See http://aspn.activestate.com/ASPN/docs/Tcl_Dev_Kit/4.0/Checker.html#pcx_api
7# for the specification of the format of the code in this file.
8#
9
10package require pcx
11pcx::register jpeg
12pcx::tcldep   0.3.2 needs tcl 8.2
13
14namespace eval ::jpeg {}
15
16#pcx::message FOO {... text ...} type
17#pcx::scan <VERSION> <NAME> <RULE>
18
19pcx::check 0.3.2 std ::jpeg::addComment \
20    {checkSimpleArgs 2 -1 {
21	checkFileName
22	checkWord
23    }}
24pcx::check 0.3.2 std ::jpeg::debug \
25    {checkSimpleArgs 1 1 {
26	checkFileName
27    }}
28pcx::check 0.3.2 std ::jpeg::dimensions \
29    {checkSimpleArgs 1 1 {
30	checkFileName
31    }}
32pcx::check 0.3.2 std ::jpeg::exifKeys \
33    {checkSimpleArgs 0 0 {}}
34pcx::check 0.3.2 std ::jpeg::formatExif \
35    {checkSimpleArgs 1 1 {
36	checkDict
37    }}
38pcx::check 0.3.2 std ::jpeg::getComments \
39    {checkSimpleArgs 1 1 {
40	checkFileName
41    }}
42pcx::check 0.3.2 std ::jpeg::getExif \
43    {checkSimpleArgs 1 2 {
44	checkFileName
45	{checkKeyword 1 {main thumbnail}}
46    }}
47pcx::check 0.3.2 std ::jpeg::getThumbnail \
48    {checkSimpleArgs 1 1 {
49	checkFileName
50    }}
51pcx::check 0.3.2 std ::jpeg::imageInfo \
52    {checkSimpleArgs 1 1 {
53	checkFileName
54    }}
55pcx::check 0.3.2 std ::jpeg::isJPEG \
56    {checkSimpleArgs 1 1 {
57	checkFileName
58    }}
59pcx::check 0.3.2 std ::jpeg::markers \
60    {checkSimpleArgs 1 1 {
61	checkChannelID
62    }}
63pcx::check 0.3.2 std ::jpeg::removeComments \
64    {checkSimpleArgs 1 1 {
65	checkFileName
66    }}
67pcx::check 0.3.2 std ::jpeg::removeExif \
68    {checkSimpleArgs 1 1 {
69	checkFileName
70    }}
71pcx::check 0.3.2 std ::jpeg::replaceComment \
72    {checkSimpleArgs 2 2 {
73	checkFileName
74	checkWord
75    }}
76pcx::check 0.3.2 std ::jpeg::stripJPEG \
77    {checkSimpleArgs 1 1 {
78	checkFileName
79    }}
80
81# Initialization via pcx::init.
82# Use a ::jpeg::init procedure for non-standard initialization.
83pcx::complete
84