* Renamed NetFSServer to netfs_server and added .rdef for running it in the
background. * Renamed NetFSServerPrefs to netfs_server_prefs. * Fixed copyright years in authentication_server. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35169 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ resource app_version {
|
||||
internal = 0,
|
||||
|
||||
short_info = "authentication_server",
|
||||
long_info = "authentication_server ©2004-2009 Haiku, Inc"
|
||||
long_info = "authentication_server ©2004-2010 Haiku, Inc"
|
||||
};
|
||||
|
||||
resource vector_icon array {
|
||||
|
||||
@@ -6,9 +6,9 @@ SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) headers shared ] ;
|
||||
SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
|
||||
|
||||
DEFINES += USER=1 ;
|
||||
DEFINES += DEBUG_APP="\\\"NetFSServerPrefs\\\"" ;
|
||||
DEFINES += DEBUG_APP="\\\"netfs_server_prefs\\\"" ;
|
||||
|
||||
Application NetFSServerPrefs
|
||||
Application netfs_server_prefs
|
||||
: DebugSupport.cpp
|
||||
|
||||
NetFSServerRosterDefs.cpp
|
||||
|
||||
@@ -20,8 +20,8 @@ static const uint32 kWritePermission
|
||||
|
||||
// usage
|
||||
static const char* kUsage =
|
||||
"Usage: NetFSServerPrefs -h | --help\n"
|
||||
" NetFSServerPrefs <command>\n"
|
||||
"Usage: netfs_server_prefs -h | --help\n"
|
||||
" netfs_server_prefs <command>\n"
|
||||
"options:\n"
|
||||
" -h, --help - print this text\n"
|
||||
"\n"
|
||||
@@ -411,7 +411,7 @@ no_more_args(int argc, int argi)
|
||||
int
|
||||
main(int argc, char** argv)
|
||||
{
|
||||
BApplication app("application/x-vnd.yellowbites.NetFSServerPrefs");
|
||||
BApplication app("application/x-vnd.haiku-netfs_server_prefs");
|
||||
|
||||
// parse first argument
|
||||
int argi = 1;
|
||||
|
||||
@@ -16,10 +16,11 @@ SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems
|
||||
userlandfs shared ] ;
|
||||
|
||||
DEFINES += USER=1 ;
|
||||
DEFINES += DEBUG_APP="\\\"NetFSServer\\\"" ;
|
||||
DEFINES += DEBUG_APP="\\\"netfs_server\\\"" ;
|
||||
|
||||
Application NetFSServer
|
||||
: DebugSupport.cpp
|
||||
Application netfs_server
|
||||
:
|
||||
DebugSupport.cpp
|
||||
|
||||
driver_settings.c
|
||||
DriverSettings.cpp
|
||||
@@ -83,5 +84,8 @@ Application NetFSServer
|
||||
UserSecurityContext.cpp
|
||||
Volume.cpp
|
||||
VolumeManager.cpp
|
||||
: be $(TARGET_NETWORK_LIBS) $(TARGET_LIBSUPC++) libshared.a
|
||||
:
|
||||
be $(TARGET_NETWORK_LIBS) $(TARGET_LIBSUPC++) libshared.a
|
||||
:
|
||||
netfs_server.rdef
|
||||
;
|
||||
|
||||
@@ -41,11 +41,11 @@
|
||||
#include "VolumeManager.h"
|
||||
|
||||
static const char* kSettingsDirName = "netfs";
|
||||
static const char* kSettingsFileName = "NetFSServer";
|
||||
static const char* kSettingsFileName = "netfs_server";
|
||||
|
||||
// usage
|
||||
static const char* kUsage =
|
||||
"Usage: NetFSServer <options>\n"
|
||||
"Usage: netfs_server <options>\n"
|
||||
"options:\n"
|
||||
" --dont-broadcast - don't use broadcasting to announce the server's\n"
|
||||
" availability to clients\n"
|
||||
@@ -186,7 +186,8 @@ private:
|
||||
|
||||
// constructor
|
||||
NetFSServer::NetFSServer(bool useBroadcasting)
|
||||
: BApplication(kNetFSServerSignature),
|
||||
:
|
||||
BApplication(kNetFSServerSignature),
|
||||
fSecurityContext(NULL),
|
||||
fConnectionListenerFactory(),
|
||||
fConnectionListener(NULL),
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* netfs_server.rdef
|
||||
*/
|
||||
|
||||
resource app_signature "application/x-vnd.haiku-netfs_server";
|
||||
|
||||
resource app_flags B_EXCLUSIVE_LAUNCH|B_BACKGROUND_APP;
|
||||
|
||||
resource app_version {
|
||||
major = 1,
|
||||
middle = 0,
|
||||
minor = 0,
|
||||
|
||||
variety = B_APPV_ALPHA,
|
||||
internal = 0,
|
||||
|
||||
short_info = "netfs_server",
|
||||
long_info = "netfs_server ©2004-2010 Haiku, Inc"
|
||||
};
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
#include "NetFSServerRosterDefs.h"
|
||||
|
||||
const char* kNetFSServerSignature
|
||||
= "application/x-vnd.yellowbites.netfs-server";
|
||||
= "application/x-vnd.haiku-netfs_server";
|
||||
|
||||
Reference in New Issue
Block a user