Sha256: c83de606d7bd729df5b701a22402b1c6afab2c88168bf1b55c6f3ef4c831bc1c

Contents?: true

Size: 684 Bytes

Versions: 37

Compression:

Stored size: 684 Bytes

Contents

#include <QObject>
#include <QStringList>

class QIODevice;
class CommandFactory;
class Command;

class CommandParser : public QObject {
  Q_OBJECT

  public:
    CommandParser(QIODevice *device, CommandFactory *commandFactory, QObject *parent = 0);

  public slots:
    void checkNext();

  signals:
    void commandReady(Command *command);

  private:
    void readLine();
    void readDataBlock();
    void processNext(const char *line);
    void processArgument(const char *data);
    void reset();
    QIODevice *m_device;
    QString m_commandName;
    QStringList m_arguments;
    int m_argumentsExpected;
    int m_expectingDataSize;
    CommandFactory *m_commandFactory;
};

Version data entries

37 entries across 37 versions & 4 rubygems

Version Path
capybara-webkit-1.15.1 src/CommandParser.h
capybara-webkit-1.15.0 src/CommandParser.h
capybara-webkit-1.14.0 src/CommandParser.h
capybara-webkit-1.13.0 src/CommandParser.h
capybara-webkit-1.12.0 src/CommandParser.h
capybara-webkit-1.11.1 src/CommandParser.h
capybara-webkit-1.11.0 src/CommandParser.h
capybara-webkit-1.10.1 src/CommandParser.h
capybara-webkit-1.10.0 src/CommandParser.h
capybara-webkit-1.9.0 src/CommandParser.h
capybara-webkit-1.8.0 src/CommandParser.h
capybara-webkit-1.7.1 src/CommandParser.h
capybara-webkit-1.7.0 src/CommandParser.h
capybara-webkit-1.6.0 src/CommandParser.h
capybara-webkit-1.5.2 src/CommandParser.h
capybara-webkit-1.5.1 src/CommandParser.h
capybara-webkit-1.5.0 src/CommandParser.h
capybara-webkit-1.4.1 src/CommandParser.h
capybara-webkit-1.4.0 src/CommandParser.h
capybara-webkit-1.3.1 src/CommandParser.h