Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
40bcf53b
Kaydet (Commit)
40bcf53b
authored
Eyl 10, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unused INetMessageOStream functionality
Change-Id: I34ee4750f30635809b8e23cbf1bd0e16f269f549
üst
e871b6a3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
39 deletions
+2
-39
inetstrm.hxx
include/tools/inetstrm.hxx
+2
-39
inetstrm.cxx
tools/source/inet/inetstrm.cxx
+0
-0
No files found.
include/tools/inetstrm.hxx
Dosyayı görüntüle @
40bcf53b
...
...
@@ -29,9 +29,6 @@ class SvStream;
enum
INetStreamStatus
{
INETSTREAM_STATUS_LOADED
=
-
4
,
INETSTREAM_STATUS_WOULDBLOCK
=
-
3
,
INETSTREAM_STATUS_OK
=
-
2
,
INETSTREAM_STATUS_ERROR
=
-
1
};
...
...
@@ -41,9 +38,7 @@ enum INetMessageStreamState
INETMSG_EOL_DONE
,
INETMSG_EOL_SCR
,
INETMSG_EOL_FCR
,
INETMSG_EOL_FLF
,
INETMSG_EOL_FSP
,
INETMSG_EOL_FESC
INETMSG_EOL_FSP
};
/// Message Generator Interface.
...
...
@@ -81,35 +76,6 @@ public:
bool
IsHeaderGenerated
()
const
{
return
bHeaderGenerated
;
}
};
/// Message Parser Interface.
class
INetMessageOStream
{
INetMIMEMessage
*
pTargetMsg
;
bool
bHeaderParsed
;
INetMessageStreamState
eOState
;
SvMemoryStream
*
pMsgBuffer
;
INetMessageOStream
(
const
INetMessageOStream
&
rStrm
)
SAL_DELETED_FUNCTION
;
INetMessageOStream
&
operator
=
(
const
INetMessageOStream
&
rStrm
)
SAL_DELETED_FUNCTION
;
protected
:
virtual
int
PutMsgLine
(
const
sal_Char
*
pData
,
sal_uIntPtr
nSize
);
public
:
INetMessageOStream
();
virtual
~
INetMessageOStream
();
int
Write
(
const
sal_Char
*
pData
,
sal_uIntPtr
nSize
);
INetMIMEMessage
*
GetTargetMessage
()
const
{
return
pTargetMsg
;
}
void
SetTargetMessage
(
INetMIMEMessage
*
pMsg
)
{
pTargetMsg
=
pMsg
;
}
void
ParseHeader
(
bool
bParse
=
true
)
{
bHeaderParsed
=
!
bParse
;
}
bool
IsHeaderParsed
()
const
{
return
bHeaderParsed
;
}
};
enum
INetMessageEncoding
{
INETMSG_ENCODING_7BIT
,
...
...
@@ -119,8 +85,7 @@ enum INetMessageEncoding
};
class
TOOLS_DLLPUBLIC
INetMIMEMessageStream
:
public
INetMessageIStream
,
public
INetMessageOStream
:
public
INetMessageIStream
{
int
eState
;
...
...
@@ -129,7 +94,6 @@ class TOOLS_DLLPUBLIC INetMIMEMessageStream
INetMessageEncoding
eEncoding
;
INetMessageIStream
*
pEncodeStrm
;
INetMessageOStream
*
pDecodeStrm
;
SvMemoryStream
*
pMsgBuffer
;
...
...
@@ -141,7 +105,6 @@ class TOOLS_DLLPUBLIC INetMIMEMessageStream
protected
:
virtual
int
GetMsgLine
(
sal_Char
*
pData
,
sal_uIntPtr
nSize
)
SAL_OVERRIDE
;
virtual
int
PutMsgLine
(
const
sal_Char
*
pData
,
sal_uIntPtr
nSize
)
SAL_OVERRIDE
;
public
:
INetMIMEMessageStream
(
sal_uIntPtr
nBufferSize
=
2048
);
...
...
tools/source/inet/inetstrm.cxx
Dosyayı görüntüle @
40bcf53b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment