File: PicLook_8h-source.html

package info (click to toggle)
paintlib 2.6.2-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 7,900 kB
  • ctags: 3,875
  • sloc: cpp: 25,209; sh: 10,600; ansic: 1,891; makefile: 119
file content (93 lines) | stat: -rw-r--r-- 5,865 bytes parent folder | download | duplicates (2)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>paintlib: PicLook.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.2 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a></div>
<h1>PicLook.h</h1><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment">/--------------------------------------------------------------------</span>
00003 <span class="comment">|</span>
00004 <span class="comment">|      $Id: PicLook_8h-source.html,v 1.2 2004/09/15 15:26:23 uzadow Exp $</span>
00005 <span class="comment">|      application class declaration</span>
00006 <span class="comment">|</span>
00007 <span class="comment">|      PaintLib MDI MFC graphic files viewer</span>
00008 <span class="comment">|</span>
00009 <span class="comment">|      Copyright (c) 1998 Bernard Delme courtesy of Dilys bvba.</span>
00010 <span class="comment">|</span>
00011 <span class="comment">\--------------------------------------------------------------------</span>
00012 <span class="comment">*/</span>
00013 
00014 <span class="preprocessor">#ifndef INCL_PICLOOK</span>
00015 <span class="preprocessor"></span><span class="preprocessor">#define INCL_PICLOOK</span>
00016 <span class="preprocessor"></span>
00017 <span class="preprocessor">#ifndef __AFXWIN_H__</span>
00018 <span class="preprocessor"></span><span class="preprocessor">#   error include 'stdafx.h' before including this file for PCH</span>
00019 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
00020 <span class="preprocessor"></span>
00021 <span class="preprocessor">#include "resource.h"</span>    <span class="comment">// main symbols</span>
00022 <span class="preprocessor">#include "planydec.h"</span>        <span class="comment">// PaintLib multi-format decoder class</span>
00023 
00024 <span class="comment">//  private message for palette negotiations</span>
00025 <span class="preprocessor">#define WM_DOREALIZE   (WM_USER + 0)</span>
00026 <span class="preprocessor"></span><span class="comment"></span>
00027 <span class="comment">/////////////////////////////////////////////////////////////////////////////</span>
00028 <span class="comment"></span><span class="comment">// CPaintLibViewerApp :</span>
00029 <span class="comment">// See PicLook.cpp for the implementation of this class</span>
00030 <span class="comment">//</span>
00031 
00032 <span class="keyword">class </span>CPaintLibViewerApp : <span class="keyword">public</span> CWinApp
00033 {
00034 <span class="keyword">public</span>:
00035     CPaintLibViewerApp();
00036     <a class="code" href="classPLAnyPicDecoder.html">PLAnyPicDecoder</a> *GetDecoder()
00037     {
00038         <span class="keywordflow">return</span> &amp;m_theDecoder;
00039     }
00040 
00041     <span class="comment">// Overrides</span>
00042     <span class="keyword">virtual</span> BOOL InitInstance();
00043     
00044     <span class="keywordtype">int</span> GetScreenBPP() <span class="keyword">const</span>;
00045 
00046 <span class="keyword">protected</span>:
00047     <span class="comment">// global decoder object (embedded in unique app instance)</span>
00048     <a class="code" href="classPLAnyPicDecoder.html">PLAnyPicDecoder</a>  m_theDecoder;
00049 
00050     <span class="comment">// Implementation</span>
00051 
00052     <span class="comment">//{{AFX_MSG(CPaintLibViewerApp)</span>
00053     afx_msg <span class="keywordtype">void</span> OnAppAbout();
00054     <span class="comment">//}}AFX_MSG</span>
00055     DECLARE_MESSAGE_MAP()
00056 };
00057 
00058 <span class="preprocessor">#endif  // INCL_PICLOOK</span>
00059 <span class="preprocessor"></span><span class="comment">/*</span>
00060 <span class="comment">/--------------------------------------------------------------------</span>
00061 <span class="comment">|</span>
00062 <span class="comment">|      $Log: PicLook_8h-source.html,v $
00062 <span class="comment">|      Revision 1.2  2004/09/15 15:26:23  uzadow
00062 <span class="comment">|      Linux compatibility changes, doc update.
00062 <span class="comment">|</span>
00063 <span class="comment">|      Revision 1.6  2001/09/16 19:03:23  uzadow</span>
00064 <span class="comment">|      Added global name prefix PL, changed most filenames.</span>
00065 <span class="comment">|</span>
00066 <span class="comment">|      Revision 1.5  2000/03/28 21:05:04  Ulrich von Zadow</span>
00067 <span class="comment">|      Added zoom capability.</span>
00068 <span class="comment">|</span>
00069 <span class="comment">|      Revision 1.4  2000/01/10 23:53:02  Ulrich von Zadow</span>
00070 <span class="comment">|      Changed formatting &amp; removed tabs.</span>
00071 <span class="comment">|</span>
00072 <span class="comment">|      Revision 1.3  1999/12/02 17:07:35  Ulrich von Zadow</span>
00073 <span class="comment">|      Changes by bdelmee.</span>
00074 <span class="comment">|</span>
00075 <span class="comment">|</span>
00076 <span class="comment">--------------------------------------------------------------------</span>
00077 <span class="comment">*/</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Sep 13 16:16:40 2004 for paintlib by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.2 </small></address>
</body>
</html>