Use new netservices

This commit is contained in:
Jaidyn Ann 2021-02-15 18:31:09 -06:00
parent 067679e34e
commit a2374f8fa0
2 changed files with 7 additions and 2 deletions

View File

@ -78,7 +78,7 @@ RSRCS = \
# - if your library does not follow the standard library naming scheme, # - if your library does not follow the standard library naming scheme,
# you need to specify the path to the library and it's name. # you need to specify the path to the library and it's name.
# (e.g. for mylib.a, specify "mylib.a" or "path/mylib.a") # (e.g. for mylib.a, specify "mylib.a" or "path/mylib.a")
LIBS = be tracker bnetapi network shared tinyxml2 $(STDCPPLIBS) LIBS = be tracker bnetapi network netservices shared tinyxml2 $(STDCPPLIBS)
# Specify additional paths to directories following the standard libXXX.so # Specify additional paths to directories following the standard libXXX.so
# or libXXX.a naming scheme. You can specify full paths or paths relative # or libXXX.a naming scheme. You can specify full paths or paths relative
@ -91,7 +91,7 @@ LIBPATHS =
# "#include <header>". Directories that contain the files in SRCS are # "#include <header>". Directories that contain the files in SRCS are
# NOT auto-included here. # NOT auto-included here.
SYSTEM_INCLUDE_PATHS = \ SYSTEM_INCLUDE_PATHS = \
# $(shell findpaths -e B_FIND_PATH_HEADERS_DIRECTORY private/shared) \ $(shell findpaths -e B_FIND_PATH_HEADERS_DIRECTORY private/netservices) \
# $(shell findpaths -e B_FIND_PATH_HEADERS_DIRECTORY private/interface) \ # $(shell findpaths -e B_FIND_PATH_HEADERS_DIRECTORY private/interface) \
# $(shell findpaths -e B_FIND_PATH_HEADERS_DIRECTORY private/support) # $(shell findpaths -e B_FIND_PATH_HEADERS_DIRECTORY private/support)

View File

@ -10,6 +10,11 @@
#include <UrlProtocolListener.h> #include <UrlProtocolListener.h>
#ifndef LIBNETAPI_DEPRECATED
using namespace BPrivate::Network;
#endif
class ProtocolListener : public BUrlProtocolListener class ProtocolListener : public BUrlProtocolListener
{ {
public: public: