소스 검색

Moved defunker preamble and pattern match constants from FilterChain.hpp to FilterChain.cpp to eliminate compiler warnings.

git-svn-id: https://svn.microneil.com/svn/SNFMulti/trunk@9 dc71a809-1921-45c4-985c-09c81d0142d9
wx
madscientist 15 년 전
부모
커밋
a751ccd212
2개의 변경된 파일13개의 추가작업 그리고 13개의 파일을 삭제
  1. 13
    0
      FilterChain.cpp
  2. 0
    13
      FilterChain.hpp

+ 13
- 0
FilterChain.cpp 파일 보기

@@ -443,6 +443,19 @@ unsigned char FilterChainQuotedPrintable::GetByte() {
/////////////////////////////////////////////////////////////////////////////////////////
// FilterChainDefunker
/////////////////////////////////////////////////////////////////////////////////////////
const char* DefunkerPreamble = "\n----[DEFUNKER]----\n";
// Patterns to match
const char* patMatchBR = "<br>";
const char* patMatchP = "<p>";
const char* patNBSP = "&nbsp;";
const char* patAMP = "&amp;";
const char* patAPOS = "&apos;";
const char* patLT = "&lt;";
const char* patGT = "&gt;";
const char* patQUOT = "&quot;";

// SkipHeaders() waits for the headers to go by before launching Store().


+ 0
- 13
FilterChain.hpp 파일 보기

@@ -427,19 +427,6 @@ class FilterChainDefunker;
static const int DefunkerSize = 32768; // Store size.
static const int DefunkerQueueSize = 24; // Size of defunker queue.

static const char* DefunkerPreamble = " ----[DEFUNKER]---- ";

// Patterns to match

static const char* patMatchBR = "<br>";
static const char* patMatchP = "<p>";
static const char* patNBSP = "&nbsp;";
static const char* patAMP = "&amp;";
static const char* patAPOS = "&apos;";
static const char* patLT = "&lt;";
static const char* patGT = "&gt;";
static const char* patQUOT = "&quot;";

class FilterChainDefunker : public FilterChain { // Class definition.

private:

Loading…
취소
저장