VBoxControlSVN.cpp revision c785dbab313731d1f4662b4684c0808cc14703db
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync/* $Id$ */
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync/** @file
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * VBoxControl - Guest Additions Command Line Management Interface
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * SVN revision.
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync */
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync/*
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * Copyright (C) 2006-2007 Sun Microsystems, Inc.
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync *
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * available from http://www.virtualbox.org. This file is free software;
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * you can redistribute it and/or modify it under the terms of the GNU
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * General Public License (GPL) as published by the Free Software
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync *
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * additional information or have any questions.
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync */
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync#include <VBox/version.h>
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync#include "VBoxControl.h"
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync/**
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * Return the SVN revision number. We put this function into a separate file
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * to speed up compilation if the revision number changes. We don't put this
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * function into VBoxSVC to save the overhead of starting the server if only
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync * the version number is requested.
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync */
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsyncunsigned long VBoxSVNRev()
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync{
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync return VBOX_SVN_REV;
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync}
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync
c0890d89bad71d7e47c63c05e55ab0924b69d8a8vboxsync