Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 31st, 2011  |  syntax: C++  |  size: 0.22 KB  |  views: 56  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #pragma once
  2. #include "Connection.h"
  3. class ConnectionFactory
  4. {
  5. public:
  6.         ConnectionFactory(void);
  7.         virtual ~ConnectionFactory(void);
  8.  
  9.         virtual Connection::pointer create(boost::asio::io_service& io_service) = 0;
  10. };