1 // ConnectionFactory.h 2 3 #ifndef NET_FS_CONNECTION_FACTORY_H 4 #define NET_FS_CONNECTION_FACTORY_H 5 6 #include <SupportDefs.h> 7 8 class Connection; 9 class ConnectionListener; 10 11 class ConnectionFactory { 12 public: 13 ConnectionFactory(); 14 ~ConnectionFactory(); 15 16 status_t CreateConnection(const char* type, 17 const char* parameters, 18 Connection** connection); 19 }; 20 21 #endif // NET_FS_CONNECTION_FACTORY_H 22