Annotation of truecrypt/platform/unix/poller.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  Copyright (c) 2008 TrueCrypt Foundation. All rights reserved.
                      3: 
                      4:  Governed by the TrueCrypt License 2.4 the full text of which is contained
                      5:  in the file License.txt included in TrueCrypt binary and source code
                      6:  distribution packages.
                      7: */
                      8: 
                      9: #ifndef TC_HEADER_Platform_Unix_Poller
                     10: #define TC_HEADER_Platform_Unix_Poller
                     11: 
                     12: #include "Platform/PlatformBase.h"
                     13: 
                     14: namespace TrueCrypt
                     15: {
                     16:        class Poller
                     17:        {
                     18:        public:
                     19:                Poller (int fileDescriptor1, int fileDescriptor2 = -1, int fileDescriptor3 = -1, int fileDescriptor4 = -1);
                     20:                virtual ~Poller () { }
                     21: 
                     22:                list <int> WaitForData (int timeOut = -1) const;
                     23: 
                     24:        protected:
                     25:                vector <int> FileDescriptors;
                     26: 
                     27:        private:
                     28:                Poller (const Poller &);
                     29:                Poller &operator= (const Poller &);
                     30:        };
                     31: }
                     32: 
                     33: #endif // TC_HEADER_Platform_Unix_Poller

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.