static AJ_Status AboutIconGetPropCB(AJ_Message reply, AJ_Message msg, uint propId, AJ aj) { AJ_Status status = AJ_Status.AJ_ERR_UNEXPECTED; if (propId == AJ_PROPERTY_ABOUT_ICON_VERSION_PROP) { status = aj.MarshalArg(reply, "q", ABOUT_ICON_VERSION); } else if (propId == AJ_PROPERTY_ABOUT_ICON_MIMETYPE_PROP) { status = aj.MarshalArg(reply, "s", aj.AboutIconMime); } else if (propId == AJ_PROPERTY_ABOUT_ICON_SIZE_PROP) { status = aj.MarshalArg(reply, "u", aj.AboutIconSize); } return(status); }
static AJ_Status AboutGetPropCB(AJ_Message reply, AJ_Message msg, uint propId, AJ aj) { if (propId == AJ_PROPERTY_ABOUT_VERSION) { return(aj.MarshalArg(reply, "q", ABOUT_VERSION)); } else { return(AJ_Status.AJ_ERR_UNEXPECTED); } }