VirtualBox

Changeset 14604 in vbox


Ignore:
Timestamp:
Nov 25, 2008 10:05:30 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39905
Message:

Runtime: Understand COM error codes from VirtualBox.xidl in %Rhrc.

Location:
trunk/src/VBox
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r14576 r14604  
    4949 *    (Main API TypeLib block for the WiX installer)
    5050 *
     51 * 8. src/VBox/Runtime/common/err/errmsgvboxcom.xsl =>
     52 *    out/<platform>/obj/src/VBox/Runtime/errmsgvboxcomdata.h
     53 *    (<result> extraction for %Rhrc the format specifier)
     54 *
    5155     Copyright (C) 2006-2007 Sun Microsystems, Inc.
    5256
     
    258262  </descGroup>
    259263
     264  <!--
     265    Note that src/VBox/Runtime/common/err/errmsgvboxcom.xsl will ignore
     266    everything in <result>/<desc> after (and including) the first dot, so express
     267    the matter of the error code in the first sentence and keep it short.
     268  -->
     269
    260270  <result name="VBOX_E_OBJECT_NOT_FOUND" value="0x80BB0001">
    261271    <desc>
     
    293303    </desc>
    294304  </result>
     305
     306  <!--
     307    Note that src/VBox/Runtime/common/err/errmsgvboxcom.xsl will ignore
     308    everything in <result>/<desc> after (and including) the first dot, so express
     309    the matter of the error code in the first sentence and keep it short.
     310  -->
    295311
    296312  <descGroup/>
  • trunk/src/VBox/Runtime/Makefile.kmk

    r14500 r14604  
    8484        $(IPRT_OUT_DIR)/errmsgdata.h \
    8585        $(IPRT_OUT_DIR)/errmsgcomdata.h \
     86        $(IPRT_OUT_DIR)/errmsgvboxcomdata.h \
    8687        $(IPRT_OUT_DIR)/Doxyfile.iprt \
    8788        $(IPRT_OUT_DIR)/Doxyfile.iprt.dep \
     
    14331434common/err/errmsg.cpp_INCS = $(IPRT_OUT_DIR)
    14341435
    1435 win/errmsgwin.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgcomdata.h
     1436common/err/errmsgxpcom.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgvboxcomdata.h
     1437common/err/errmsgxpcom.cpp_INCS = $(IPRT_OUT_DIR)
     1438
     1439win/errmsgwin.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgcomdata.h $(IPRT_OUT_DIR)/errmsgvboxcomdata.h
    14361440win/errmsgwin.cpp_INCS = $(IPRT_OUT_DIR)
    14371441
     
    14621466        $(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^)
    14631467
     1468$(IPRT_OUT_DIR)/errmsgvboxcomdata.h: \
     1469                $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsgvboxcom.xsl \
     1470                $(VBOX_PATH_RUNTIME_SRC)/../Main/idl/VirtualBox.xidl \
     1471                | $$(dir $$@)
     1472        $(call MSG_GENERATE,,$@,$(filter %.xidl,$^))
     1473        $(VBOX_XSLTPROC) -o $@ $< $(filter %.xidl,$^)
    14641474
    14651475#
  • trunk/src/VBox/Runtime/common/err/errmsgxpcom.cpp

    r13083 r14604  
    107107    MY_ERR("NS_SUCCESS_FILE_DIRECTORY_EMPTY",       "NS_SUCCESS_FILE_DIRECTORY_EMPTY",              UINT32_C(0x00520001)),
    108108
     109#include "errmsgvboxcomdata.h"
     110
    109111    { NULL, NULL, 0 }
    110112#undef MY_ERR
  • trunk/src/VBox/Runtime/win/errmsgwin.cpp

    r13083 r14604  
    4949{
    5050#include "errmsgcomdata.h"
     51#include "errmsgvboxcomdata.h"
    5152    { NULL, NULL, 0 }
    5253};
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette