//{{AFX_AxColorServer_cpp_includes (OverwriteSection) #include "AxColorServer.h" //}}AFX_AxColorServer_cpp_includes (#0000) //{{AxColorServer_cpp_CreateNew (PreserveSection) AxColorCommon* AxColorCommon::CreateNew() { // Developer: Make changes in this section if necessary return new AxColorServer; } //}}AxColorServer_cpp_CreateNew (#F4JM) //{{AxColorServer_cpp_DefConstr (PreserveSection) AxColorServer::AxColorServer() { // Developer: Make changes in this section if necessary } //}}AxColorServer_cpp_DefConstr (#32TJ) //{{AxColorServer_cpp_RawConstr (PreserveSection) AxColorServer::AxColorServer(const AxColorStruct* value) : AxColorCommon(value) { // Developer: Make changes in this section if necessary } //}}AxColorServer_cpp_RawConstr (#O682) //{{AxColorServer_cpp_Send (PreserveSection) void AxColorServer::Send(AxColorStruct* output) { // Developer: Make changes in this section if necessary mi_put_bytes((mi_unsigned_char1*) &output->red, (char*) &m_value.red, 1); mi_put_bytes((mi_unsigned_char1*) &output->green, (char*) &m_value.green, 1); mi_put_bytes((mi_unsigned_char1*) &output->blue, (char*) &m_value.blue, 1); } //}}AxColorServer_cpp_Send (#KMN0) //{{AxColorServer_cpp_Receive (PreserveSection) void AxColorServer::Receive(AxColorStruct* input) { // Developer: Make changes in this section if necessary mi_get_bytes((mi_unsigned_char1*) &input->red, (char*) &m_value.red, 1); mi_get_bytes((mi_unsigned_char1*) &input->green, (char*) &m_value.green, 1); mi_get_bytes((mi_unsigned_char1*) &input->blue, (char*) &m_value.blue, 1); } //}}AxColorServer_cpp_Receive (#BSFT) //{{AxColorServer_cpp_ImportText (PreserveSection) mi_boolean AxColorServer::ImportText(DkInStream* reader) { // Developer: Make changes in this section if necessary return FromString(reader); } //}}AxColorServer_cpp_ImportText (#BJNQ) //{{AxColorServer_cpp_ExportText (PreserveSection) mi_boolean AxColorServer::ExportText(DkOutStream* writer) { // Developer: Make changes in this section if necessary return ToString(writer); } //}}AxColorServer_cpp_ExportText (#784R) //{{AxColorServer_cpp_ExportBinary (PreserveSection) void AxColorServer::ExportBinary(AxColorStruct* output) { // Developer: Make changes in this section if necessary Send(output); } //}}AxColorServer_cpp_ExportBinary (#438N) //{{AxColorServer_cpp_ImportBinary (PreserveSection) void AxColorServer::ImportBinary(AxColorStruct* input) { // Developer: Make changes in this section if necessary Receive(input); } //}}AxColorServer_cpp_ImportBinary (#QQ5J) //{{AxColorServer_cpp_userDefinitions (PreserveSection) // Add all your definitions in this section //}}AxColorServer_cpp_userDefinitions (#0000)