symbian 使用http get post方式获取网页信息
2010-05-31 19:38:00 来源:WEB开发网31. const TInt KStatustextBufferSize = 32;
32. const TInt KInfotextBufferSize = 64;
33. const TInt KURIBufferSize = 128;
34. const TInt KDefaultBufferSize = 256;
35. // ----------------------------------------------------------------------------
36. // CClientEngine::NewL()
37. //
38. // Creates instance of CClientEngine.
39. // ----------------------------------------------------------------------------
40. CClientEngine* CClientEngine::NewL(MClientObserver& aObserver)
41. {
42. CClientEngine* self = CClientEngine::NewLC(aObserver);
43. CleanupStack::Pop(self);
44. return self;
45. }
46.
47. // ----------------------------------------------------------------------------
48. // CClientEngine::NewLC()
49. //
50. // Creates instance of CClientEngine.
51. // ----------------------------------------------------------------------------
52. CClientEngine* CClientEngine::NewLC(MClientObserver& aObserver)
53. {
54. CClientEngine* self = new (ELeave) CClientEngine(aObserver);
55. CleanupStack::PushL(self);
56. self- >ConstructL();
57. return self;
58. }
59.
60. // ----------------------------------------------------------------------------
61. // CClientEngine::CClientEngine()
62. //
63. // First phase constructor.
64. // ----------------------------------------------------------------------------
65. CClientEngine::CClientEngine(MClientObserver& aObserver)
66. : iObserver(aObserver),
67. iPostData(NULL),
68. iRunning(EFalse)
69. {
70. }
71.
72. // ----------------------------------------------------------------------------
更多精彩
赞助商链接