home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / winfe / edtrcdll / src / edtdlgs.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  1.6 KB  |  62 lines

  1. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. #include "stdafx.h"
  20. #include "resource.h"
  21. #include "platform.h"
  22. #include "edtdlgs.h"
  23.  
  24. //export includes
  25. #include "imgcnvdl.h"
  26. #include "tagdlg.h"
  27. #include "imewrap.h"
  28. //end dialog includes
  29.  
  30. #ifdef WIN32 
  31. #define EXPORT 
  32. #else
  33. #define EXPORT __export
  34. #endif
  35.  
  36. IImageConversionDialog * EXPORT
  37. IImageConversionDialog_Create(HWND pParent)
  38. {
  39.     return new CImageConversionDialog(pParent);
  40. }
  41.  
  42. ITagDialog * EXPORT
  43. ITagDialog_Create(IWFEInterface *wfe, IEDTInterface *edt, char *pTagData, HWND pParent/*=NULL*/)
  44. {
  45.     CTagDlg *dlg=new CTagDlg(pParent,pTagData);
  46.     dlg->setWFE(wfe);
  47.     dlg->setEDT(edt);
  48.     return dlg;
  49. }
  50.  
  51. IIMEDll * EXPORT
  52. IIMEDll_Create()
  53. {
  54.     return new CIMEDll();
  55. }
  56.  
  57. IJPEGOptionsDlg * EXPORT
  58. IJPEGOptionsDlg_Create(HWND pParent)
  59. {
  60.     return new CJpegOptionsDialog(pParent);
  61. }
  62.