TemplateP.h
上传用户:lctgjx
上传日期:2022-06-04
资源大小:8887k
文件大小:2k
源码类别:

流媒体/Mpeg4/MP4

开发平台:

Visual C++

  1. /* $Xorg: TemplateP.h,v 1.5 2001/02/09 02:03:46 xorgcvs Exp $ */
  2. /*
  3. Copyright 1987, 1998  The Open Group
  4. Permission to use, copy, modify, distribute, and sell this software and its
  5. documentation for any purpose is hereby granted without fee, provided that
  6. the above copyright notice appear in all copies and that both that
  7. copyright notice and this permission notice appear in supporting
  8. documentation.
  9. The above copyright notice and this permission notice shall be included in
  10. all copies or substantial portions of the Software.
  11. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  12. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  13. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  14. OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  15. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  16. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  17. Except as contained in this notice, the name of The Open Group shall not be
  18. used in advertising or otherwise to promote the sale, use or other dealings
  19. in this Software without prior written authorization from The Open Group.
  20. */
  21. /* $XFree86: xc/lib/Xaw/TemplateP.h,v 1.6 2001/01/17 19:42:32 dawes Exp $ */
  22. #ifndef _TemplateP_h
  23. #define _TemplateP_h
  24. #include <X11/Xaw/Template.h>
  25. /* include superclass private header file */
  26. #include <X11/CoreP.h>
  27. /* define unique representation types not found in <X11/StringDefs.h> */
  28. #define XtRTemplateResource "TemplateResource"
  29. typedef struct {
  30.     XtPointer extension;
  31. } TemplateClassPart;
  32. typedef struct _TemplateClassRec {
  33.     CoreClassPart core_class;
  34.     TemplateClassPart template_class;
  35. } TemplateClassRec;
  36. extern TemplateClassRec templateClassRec;
  37. typedef struct {
  38.     /* resources */
  39.     char* resource;
  40.     /* private */
  41.     char *private;
  42. } TemplatePart;
  43. typedef struct _TemplateRec {
  44.     CorePart core;
  45. #if defined(__cplusplus) || defined(c_plusplus)
  46.     TemplatePart c_template;
  47. #else
  48.     TemplatePart template;
  49. #endif
  50. } TemplateRec;
  51. #endif /* _TemplateP_h */