2006-02-07 04:12:54 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2006-02-07 04:12:54 +03:00
|
|
|
|
|
|
|
#ifndef nsPrintSession_h__
|
|
|
|
#define nsPrintSession_h__
|
|
|
|
|
|
|
|
#include "nsIPrintSession.h"
|
|
|
|
#include "nsWeakReference.h"
|
2006-02-07 04:15:04 +03:00
|
|
|
#include "gfxCore.h"
|
2006-02-07 04:12:54 +03:00
|
|
|
|
|
|
|
//*****************************************************************************
|
|
|
|
//*** nsPrintSession
|
|
|
|
//*****************************************************************************
|
|
|
|
|
2006-02-07 04:14:48 +03:00
|
|
|
#undef IMETHOD_VISIBILITY
|
2006-02-07 04:14:49 +03:00
|
|
|
#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
|
2006-02-07 04:14:48 +03:00
|
|
|
|
2006-02-10 23:40:54 +03:00
|
|
|
class nsPrintSession : public nsIPrintSession,
|
|
|
|
public nsSupportsWeakReference
|
2006-02-07 04:12:54 +03:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSIPRINTSESSION
|
|
|
|
|
|
|
|
nsPrintSession();
|
|
|
|
virtual ~nsPrintSession();
|
|
|
|
|
|
|
|
virtual nsresult Init();
|
|
|
|
};
|
|
|
|
|
2006-02-07 04:14:48 +03:00
|
|
|
#undef IMETHOD_VISIBILITY
|
2006-02-07 04:14:49 +03:00
|
|
|
#define IMETHOD_VISIBILITY NS_VISIBILITY_HIDDEN
|
2006-02-07 04:14:48 +03:00
|
|
|
|
2006-02-07 04:12:54 +03:00
|
|
|
#endif // nsPrintSession_h__
|