Back to index

enigmail  1.4.3
Defines | Functions | Variables
nsEnigContentHandler.cpp File Reference
#include "enigmail.h"
#include "pgpmime.h"
#include "nsEnigContentHandler.h"
#include "mimedummy.h"
#include "mimeenig.h"
#include "nspr.h"
#include "plstr.h"
#include "nsCOMPtr.h"
#include "nsStringAPI.h"
#include "nsNetUtil.h"
#include "nsIThread.h"
#include "nsIMimeObjectClassAccess.h"
#include "nsMsgMimeCID.h"

Go to the source code of this file.

Defines

#define FORCE_PR_LOG   /* Allow logging even in release build */
#define ERROR_LOG(args)   PR_LOG(gEnigContentHandlerLog,PR_LOG_ERROR,args)
#define WARNING_LOG(args)   PR_LOG(gEnigContentHandlerLog,PR_LOG_WARNING,args)
#define DEBUG_LOG(args)   PR_LOG(gEnigContentHandlerLog,PR_LOG_DEBUG,args)

Functions

static NS_DEFINE_CID (kMimeObjectClassAccessCID, NS_MIME_OBJECT_CLASS_ACCESS_CID)
 NS_IMPL_THREADSAFE_ISUPPORTS1 (nsEnigContentHandler, nsIMimeContentTypeHandler) nsEnigContentHandler

Variables

MimeContainerClass * mimeContainerClassP = NULL

Define Documentation

#define DEBUG_LOG (   args)    PR_LOG(gEnigContentHandlerLog,PR_LOG_DEBUG,args)

Definition at line 64 of file nsEnigContentHandler.cpp.

#define ERROR_LOG (   args)    PR_LOG(gEnigContentHandlerLog,PR_LOG_ERROR,args)

Definition at line 62 of file nsEnigContentHandler.cpp.

#define FORCE_PR_LOG   /* Allow logging even in release build */

Definition at line 40 of file nsEnigContentHandler.cpp.

#define WARNING_LOG (   args)    PR_LOG(gEnigContentHandlerLog,PR_LOG_WARNING,args)

Definition at line 63 of file nsEnigContentHandler.cpp.


Function Documentation

static NS_DEFINE_CID ( kMimeObjectClassAccessCID  ,
NS_MIME_OBJECT_CLASS_ACCESS_CID   
) [static]
NS_IMPL_THREADSAFE_ISUPPORTS1 ( nsEnigContentHandler  ,
nsIMimeContentTypeHandler   
)

Definition at line 72 of file nsEnigContentHandler.cpp.

  : mContentType("")
{
  nsresult rv;

  NS_INIT_ISUPPORTS();

#ifdef PR_LOGGING
  if (gEnigContentHandlerLog == nsnull) {
    gEnigContentHandlerLog = PR_NewLogModule("nsEnigContentHandler");
  }
#endif

#ifdef FORCE_PR_LOG
  nsCOMPtr<nsIThread> myThread;
  rv = ENIG_GET_THREAD(myThread);
  DEBUG_LOG(("nsEnigContentHandler:: <<<<<<<<< CTOR(%p): myThread=%p\n",
         this, myThread.get()));
#endif
}

Variable Documentation

MimeContainerClass* mimeContainerClassP = NULL

Definition at line 56 of file nsEnigContentHandler.cpp.