equal
deleted
inserted
replaced
57 } |
57 } |
58 |
58 |
59 TInt ConsoleStdErr::Write(CBase* aConsole, const TDesC& aDes) |
59 TInt ConsoleStdErr::Write(CBase* aConsole, const TDesC& aDes) |
60 { |
60 { |
61 TAny* ignore; |
61 TAny* ignore; |
62 return ((CBaseExtensionDummy*)aConsole)->Extension_(KWriteStdErrConsoleExtension, ignore, const_cast<TAny*>((const TAny*)&aDes)); |
62 return ((CBaseExtensionDummy*)aConsole)->Extension_(KWriteStdErrConsoleExtension, ignore, (TAny*)&aDes); |
63 } |
63 } |
|
64 |
|
65 TBool ConsoleSize::ReportedCorrectly(CBase* aConsole) |
|
66 { |
|
67 TAny* ignore; |
|
68 return ((CBaseExtensionDummy*)aConsole)->Extension_(KConsoleSizeReportedCorrectlyExtension, ignore, NULL) == KErrNone; |
|
69 } |
|
70 |
|
71 void ConsoleSize::NotifySizeChanged(CBase* aConsole, TRequestStatus& aStatus) |
|
72 { |
|
73 TAny* ignore; |
|
74 TBool supported = ((CBaseExtensionDummy*)aConsole)->Extension_(KConsoleSizeNotifyChangedExtension, ignore, (TAny*)&aStatus) == KErrNone; |
|
75 if (!supported) |
|
76 { |
|
77 TRequestStatus* stat = &aStatus; |
|
78 User::RequestComplete(stat, KErrExtensionNotSupported); |
|
79 } |
|
80 } |
|
81 |
|
82 void ConsoleSize::CancelNotifySizeChanged(CBase* aConsole) |
|
83 { |
|
84 TAny* ignore; |
|
85 ((CBaseExtensionDummy*)aConsole)->Extension_(KConsoleSizeNotifyChangedExtension, ignore, NULL); |
|
86 } |
|
87 |